Annual report pursuant to Section 13 and 15(d)

BORROWINGS - Schedule of Borrowings (Details)

v3.22.4
BORROWINGS - Schedule of Borrowings (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Debt Instrument [Line Items]    
Senior Secured Convertible Notes, current $ 163,556 $ 0
Senior Secured Convertible Notes, non-current 382,208 53,687
Principal repayment obligation 557,678 56,500
Unamortized DFC (11,914) (2,813)
Carrying value 545,764 53,687
Senior Secured Convertible Notes due 2025    
Debt Instrument [Line Items]    
Principal repayment obligation, current 166,666  
Unamortized DFC, current (3,110)  
Senior Secured Convertible Notes, current 163,556  
Principal repayment obligation, non-current 333,334  
Unamortized DFC, noncurrent (6,219)  
Senior Secured Convertible Notes, non-current 327,115  
Senior Notes due 2028    
Debt Instrument [Line Items]    
Principal repayment obligation, non-current 57,678 56,500
Unamortized DFC, noncurrent (2,585) (2,813)
Senior Secured Convertible Notes, non-current $ 55,093 $ 53,687