Quarterly report pursuant to Section 13 or 15(d)

DEBT - Components of Debt (Details)

v3.21.2
DEBT - Components of Debt (Details) - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Loans and borrowings, current portion $ 120 $ 0
Total debt, current portion 13,029 0
Debt, long term 13,077 33,843
Ending balance 26,106 33,843
Convertible notes    
Debt Instrument [Line Items]    
Debt issuance costs, net 719 741
Convertible notes due 2024    
Debt Instrument [Line Items]    
Convertible note due 2024, current portion 12,909 0
Convertible notes, noncurrent 7,218 0
Convertible notes due 2024 | Convertible notes    
Debt Instrument [Line Items]    
Convertible notes, noncurrent 7,218 0
Convertible notes due 2024 | Convertible notes    
Debt Instrument [Line Items]    
Convertible note due 2024, current portion 12,909 0
Convertible notes due 2022    
Debt Instrument [Line Items]    
Convertible notes, noncurrent 0 27,142
Write off of unamortized debt financing cost 457  
Convertible notes due 2022 | Convertible notes    
Debt Instrument [Line Items]    
Convertible notes, noncurrent 0 27,142
Herbal Brands Loan and other borrowings    
Debt Instrument [Line Items]    
Debt, long term $ 5,859 $ 6,701