XML 61 R50.htm IDEA: XBRL DOCUMENT v3.22.2.2
NOTES PAYABLE - Schedule of Fair Value Adjustments and Debt Issuance Costs (Details) - Convertible Notes Mature In April 2025 - Convertible Notes - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Debt Instrument [Line Items]        
Liabilities, fair value adjustment $ (38,235) $ 25,039 $ 143,460 $ 29,339
Debt issuance costs     13,100  
Interest Expense        
Debt Instrument [Line Items]        
Debt issuance costs   5,083   10,664
Cash interest payments | Interest Expense        
Debt Instrument [Line Items]        
Liabilities, fair value adjustment 5,488 3,130 16,070 4,850
Payment-in-kind (PIK) interest | Interest Expense        
Debt Instrument [Line Items]        
Liabilities, fair value adjustment 8,232 4,694 24,115 7,274
Instrument-specific credit risk | Other Comprehensive Income (Loss)        
Debt Instrument [Line Items]        
Liabilities, fair value adjustment (47,832) 8,552 (83,578) 8,552
Other fair value adjustments | Fair value adjustment on convertible notes        
Debt Instrument [Line Items]        
Liabilities, fair value adjustment $ (4,123) $ 8,663 $ 186,853 $ 8,663