XML 85 R67.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONVERTIBLE NOTES AND OTHER DEBTS - Convertible Roll Forwards Notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Jun. 02, 2020
Sep. 13, 2019
Debt Instrument [Line Items]        
Notes carrying amount $ 98,941 $ 129,507    
Convertible Note due 2022        
Debt Instrument [Line Items]        
Principal amount 37,707 37,707 $ 37,700  
Less: Debt discount, net of amortization (672) (1,357) $ (1,700)  
Less: Debt issuance costs, net of amortization (211) (425)    
Notes carrying amount $ 36,824 $ 35,925    
Remaining amortization period (years) 10 months 24 days 1 year 10 months 24 days    
Effective interest rate on liability component 6.95% 6.95%    
Convertible Note due 2024        
Debt Instrument [Line Items]        
Principal amount $ 115,500 $ 115,500   $ 115,500
Less: Debt discount, net of amortization (14,576) (19,294)    
Less: Debt issuance costs, net of amortization (1,983) (2,624)    
Notes carrying amount $ 98,941 $ 93,582    
Remaining amortization period (years) 2 years 8 months 12 days 3 years 8 months 12 days    
Effective interest rate on liability component 7.95% 7.95%    
Senior Notes | Convertible Note due 2022        
Debt Instrument [Line Items]        
Principal amount $ 37,700      
Notes carrying amount $ 36,800