v3.26.1
CONVERTIBLE NOTES AND TERM LOAN - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 2 Months Ended 6 Months Ended 37 Months Ended
Oct. 31, 2023
Nov. 30, 2021
Jun. 30, 2020
Jun. 30, 2026
Apr. 30, 2026
Debt Instrument [Line Items]          
Carrying value       $ 115,000  
Convertible Notes          
Debt Instrument [Line Items]          
Carrying value       0  
Term Loan          
Debt Instrument [Line Items]          
Carrying value       $ 115,000  
2021 Notes | Convertible Notes          
Debt Instrument [Line Items]          
Aggregate principal amount   $ 417,600      
Accrued interest rate   4.00%   8.00%  
Interest Rate increase       1.00% 0.50%
Premium   25.00%      
Debt converted       $ 546,500  
Conversion price (in dollars per share)       $ 20.00  
Shares issued on conversion (in shares)       27,326,950  
2021 Notes | Convertible Notes | Minimum          
Debt Instrument [Line Items]          
Common stock price percent trigger   75.00%      
2021 Notes | Convertible Notes | Maximum          
Debt Instrument [Line Items]          
Common stock price percent trigger   80.00%      
2020 Notes | Convertible Notes          
Debt Instrument [Line Items]          
Aggregate principal amount     $ 170,000    
Accrued interest rate     4.00%    
Debt converted       $ 211,600  
Conversion price (in dollars per share)       $ 16.73  
Shares issued on conversion (in shares)       12,648,586  
Warrant Shares (in shares)     289,737    
Exercise price (in dollars per share)     $ 6.72    
Warrants term     7 years    
Warrant fair value     $ 800    
Proceeds allocated to notes     $ 84,200    
Effective rate     4.05%    
Carrying value       $ 211,400  
Net unamortized debt issuance costs       $ 200  
2020 Notes | Convertible Notes | Uber          
Debt Instrument [Line Items]          
Aggregate principal amount     $ 85,000    
Debt discount     400    
2020 Notes | Convertible Notes | Other investors          
Debt Instrument [Line Items]          
Aggregate principal amount     85,000    
Debt discount     $ 1,200    
Senior Secured Term Loan | Term Loan          
Debt Instrument [Line Items]          
Aggregate principal amount $ 115,000        
Accrued interest rate 10.00%        
Debt issuance costs $ 2,200        
Closing fees paid $ 2,300