XML 71 R59.htm IDEA: XBRL DOCUMENT v3.25.2
LOAN AGREEMENTS - Additional Information (Details)
$ / shares in Units, $ in Thousands
6 Months Ended
Mar. 20, 2025
shares
Feb. 08, 2024
USD ($)
Feb. 02, 2024
USD ($)
$ / shares
Dec. 29, 2023
USD ($)
advance
$ / shares
shares
Jun. 30, 2025
USD ($)
day
$ / shares
Jun. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
Feb. 06, 2024
USD ($)
Shares Issued And Outstanding [Line Items]                
Measurement period         98.00%      
Loss on extinguishment of long-term debt         $ 0 $ 1,330    
Convertible senior notes, net         346,466   $ 345,392  
Current installments of long-term borrowings         16,503   $ 12,045  
Trinity Master Equipment Financing Agreement                
Shares Issued And Outstanding [Line Items]                
Debt issuance costs         $ 1,850      
Effective interest rate         15.70%      
Loan and security agreement, maximum amount       $ 120,000        
Loan agreement payment term 60 months              
Loan agreement, monthly payment rate 0.022266     0.022266        
Class of warrant or right number of securities called by warrants or rights (in shares) | shares 25,000,000              
Convertible senior notes, net         $ 72,073      
Current installments of long-term borrowings         $ 16,503      
Trinity Master Equipment Financing Agreement | Line Of Credit Condition 1                
Shares Issued And Outstanding [Line Items]                
Repayment of term loan advance       $ 30,000        
Line of credit facility, maximum borrowing, each draw limit       $ 10,000        
Line of credit facility, after the effective date       18 months        
Trinity Master Equipment Financing Agreement | Line Of Credit Condition Maximum borrowing Limit                
Shares Issued And Outstanding [Line Items]                
Repayment of term loan advance       $ 20,000        
Indenture and Notes | 4.250% Convertible Senior Notes                
Shares Issued And Outstanding [Line Items]                
Aggregate principal amount               $ 355,000
Stated interest rate         4.25%     4.25%
Conversion price percent         130.00%      
Trading days | day         20      
Initial conversion rate         195.1029%      
Conversion price (in dollars per share) | $ / shares         $ 5.13      
Notes before unamortized discount         $ 355,000      
Debt issuance costs         $ 8,534      
Effective interest rate         5.00%      
Indenture and Notes | 4.250% Convertible Senior Notes | Debt Conversion Terms One                
Shares Issued And Outstanding [Line Items]                
Consecutive trading days | day         30      
Indenture and Notes | 4.250% Convertible Senior Notes | Debt Conversion Terms Two                
Shares Issued And Outstanding [Line Items]                
Consecutive business days | day         5      
Consecutive trading days | day         10      
Capped Call Transactions                
Shares Issued And Outstanding [Line Items]                
Transactions cost     $ 43,168          
Initial cap price (in dollars per share) | $ / shares     $ 8.04          
Premium over sales price     100.00%          
Effective Date Draw | Trinity Master Equipment Financing Agreement                
Shares Issued And Outstanding [Line Items]                
Term loan advance       $ 70,000        
Loan agreement payment term       60 months        
Term charge on repayment of debt         $ 700      
Blanket Lien Draw                
Shares Issued And Outstanding [Line Items]                
Repayment of loan   $ 38,778            
Loss on extinguishment of long-term debt           $ 1,330    
Blanket Lien Draw | Trinity Master Equipment Financing Agreement                
Shares Issued And Outstanding [Line Items]                
Term loan advance       $ 40,000        
Loan agreement payment term       60 months        
Blanket Lien Draw | Trinity Master Equipment Financing Agreement | Line Of Credit Condition 1                
Shares Issued And Outstanding [Line Items]                
Number of advances | advance       3        
Blanket Lien Draw | Trinity Master Equipment Financing Agreement | Common Stock                
Shares Issued And Outstanding [Line Items]                
Class of warrant or right number of securities called by warrants or rights (in shares) | shares       728,835        
Exercise price of warrants or rights (in dollars per share) | $ / shares       $ 4.87        
March 2025 Draw | Trinity Master Equipment Financing Agreement                
Shares Issued And Outstanding [Line Items]                
Term charge on repayment of debt         $ 250