Quarterly report pursuant to Section 13 or 15(d)

BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)

v3.22.2.2
BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2021
USD ($)
Sep. 30, 2022
USD ($)
Jun. 30, 2022
USD ($)
Apr. 30, 2022
CAD ($)
Mar. 31, 2022
USD ($)
Sep. 10, 2021
USD ($)
Debt Instrument [Line Items]            
Accumulated deficit $ 242,418 $ 304,805        
Total debt - principal amounts $ 152,688 216,202        
Error Correction, Type [Extensible Enumeration] Incorrect Input In Valuation Model [Member]          
Goodwill $ (45,828) (81,562) $ (81,562)   $ (54,300)  
Nature's Remedy            
Debt Instrument [Line Items]            
Intangible assets, license 10,000          
Goodwill 7,092         $ (26,086)
Deferred tax liabilities 2,908         $ 22,784
Senior Notes            
Debt Instrument [Line Items]            
Total debt - principal amounts 75,193 74,935        
Acquisition Facility            
Debt Instrument [Line Items]            
Total debt - principal amounts $ 40,000 $ 65,000        
Senior Notes | Senior Notes            
Debt Instrument [Line Items]            
Debt instrument interest rate   10.00%        
Total debt - principal amounts   $ 74,935        
Acquisition Facility            
Debt Instrument [Line Items]            
Issuance of debt securities, maximum       $ 500,000