Quarterly report pursuant to Section 13 or 15(d)

BORROWINGS- Schedule of Borrowings (Details)

v3.22.2
BORROWINGS- Schedule of Borrowings (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Debt Instrument [Line Items]    
Long-Term Debt, Current Maturities, Total $ 162,848 $ 0
Senior Secured Convertible Notes, non-current 381,072 53,687
Principal repayment obligation 557,678 56,500
Unamortized DFC (13,758) (2,813)
Carrying value 543,920 53,687
Senior Secured Convertible Notes due 2025    
Debt Instrument [Line Items]    
Principal repayment obligation, current 166,666  
Unamortized DFC, current (3,818)  
Long-Term Debt, Current Maturities, Total 162,848  
Principal repayment obligation, non-current 333,334  
Unamortized DFC, noncurrent (7,194)  
Senior Secured Convertible Notes, non-current 326,140  
Senior Notes due 2028    
Debt Instrument [Line Items]    
Principal repayment obligation 57,678 56,500
Unamortized DFC (2,746) (2,813)
Carrying value $ 54,932 $ 53,687