XML 52 R42.htm IDEA: XBRL DOCUMENT v3.22.2
CONVERTIBLE DEBT - Components of Convertible Notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Jul. 01, 2022
Debt Instrument [Line Items]    
Carrying amount $ 98,941 $ 113,541
2022 Notes    
Debt Instrument [Line Items]    
Principal amount 37,707 37,707
Less: Debt discount, net of amortization (672) 0
Less: Debt issuance costs, net of amortization (211) (119)
Carrying amount $ 36,824 37,588
Remaining debt discount amortization period (years) 10 months 24 days  
Effective interest rate on liability component (as a percent) 6.95%  
2024 Notes    
Debt Instrument [Line Items]    
Principal amount $ 115,500 115,500
Less: Debt discount, net of amortization (14,576) 0
Less: Debt issuance costs, net of amortization (1,983) (1,959)
Carrying amount $ 98,941 $ 113,541
Remaining debt discount amortization period (years) 2 years 8 months 12 days  
Effective interest rate on liability component (as a percent) 7.95%