XML 54 R35.htm IDEA: XBRL DOCUMENT v3.23.2
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended
Jun. 30, 2022
USD ($)
day
$ / shares
Jun. 30, 2023
USD ($)
Apr. 11, 2023
USD ($)
Mar. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Mar. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Restricted Cash and Cash Equivalents Items [Line Items]              
Current and non-current restricted cash   $ 68,700     $ 88,100    
Embedded conversion features as a derivative liability     $ 21,200        
Warranty accrual $ 2,203 11,057   $ 9,248 7,788 $ 0 $ 0
Accrued Liabilities              
Restricted Cash and Cash Equivalents Items [Line Items]              
Warranty accrual   2,000     1,500    
Other Noncurrent Liabilities              
Restricted Cash and Cash Equivalents Items [Line Items]              
Warranty accrual   9,000     6,300    
Convertible Notes Payable | June 2022 Toggle Convertible Notes              
Restricted Cash and Cash Equivalents Items [Line Items]              
Principal amount $ 200,000 117,041 100,000   $ 210,939    
Interest rate, stated percentage 8.00%            
Paid-in-kind interest rate 11.00%            
Convertible Notes Payable | April 2023 Toggle Convertible Notes              
Restricted Cash and Cash Equivalents Items [Line Items]              
Principal amount   $ 105,500 $ 100,000        
Interest rate, stated percentage 8.00%   8.00%        
Paid-in-kind interest rate 11.00%   11.00%        
Embedded Derivative Financial Instruments              
Restricted Cash and Cash Equivalents Items [Line Items]              
Notional amount $ 9,000            
Remaining term 30 months            
Trigger price (in dollars per share) | $ / shares $ 20.00            
Trading days during consecutive trading day period | day 20            
Period of consecutive trading days | day 40