Quarterly report pursuant to Section 13 or 15(d)

BORROWINGS- Schedule of Borrowings (Details)

v3.22.2.2
BORROWINGS- Schedule of Borrowings (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Debt Instrument [Line Items]    
Long-Term Debt, Current Maturities, Total $ 163,274 $ 0
Senior Secured Convertible Notes, non-current 381,561 53,687
Principal repayment obligation 557,678 56,500
Unamortized DFC (12,843) (2,813)
Carrying value 544,835 53,687
Senior Secured Convertible Notes due 2025    
Debt Instrument [Line Items]    
Principal repayment obligation, current 166,666  
Unamortized DFC, current (3,392)  
Long-Term Debt, Current Maturities, Total 163,274  
Principal repayment obligation, non-current 333,334  
Unamortized DFC, noncurrent (6,785)  
Senior Secured Convertible Notes, non-current 326,549  
Senior Notes due 2028    
Debt Instrument [Line Items]    
Principal repayment obligation 57,678 56,500
Unamortized DFC (2,666) (2,813)
Carrying value $ 55,012 $ 53,687