XML 97 R80.htm IDEA: XBRL DOCUMENT v3.25.0.1
LOAN AGREEMENTS - Additional Information (Details)
12 Months Ended
Feb. 02, 2024
USD ($)
$ / shares
Dec. 29, 2023
USD ($)
advance
$ / shares
shares
Jun. 10, 2021
USD ($)
Dec. 31, 2024
USD ($)
day
$ / shares
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Feb. 06, 2024
USD ($)
Shares Issued And Outstanding [Line Items]              
Consecutive business days | day       5      
Convertible senior notes, net       $ 345,392,000 $ 0    
Current installments of long-term borrowings       12,045,000 17,764,000    
Loss on extinguishment of long-term debt       1,330,000 $ 1,732,000 $ 0  
Trinity Master Equipment Financing Agreement              
Shares Issued And Outstanding [Line Items]              
Debt issuance costs       $ 2,187,000      
Effective interest rate       14.90%      
Loan and security agreement, maximum amount   $ 120,000,000          
Loan agreement, monthly payment rate   0.022266          
Convertible senior notes, net       $ 58,281,000      
Current installments of long-term borrowings       12,045,000      
Term charge on repayment of debt       700,000      
Trinity Master Equipment Financing Agreement | Line Of Credit Condition 1              
Shares Issued And Outstanding [Line Items]              
Repayment of term loan advance   $ 30,000,000          
Line of credit facility, maximum borrowing, each draw limit   $ 10,000,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,000          
Hercules Capital Secured Term Loan              
Shares Issued And Outstanding [Line Items]              
Effective interest rate     8.15%        
Loan and security agreement, maximum amount     $ 100,000,000        
Term loan facility, initial facility charge     $ 1,000,000        
Term loan facility, end of term charge upon repayment of the loan   3,250,000          
Loss on extinguishment of long-term debt       $ 1,732,000      
Hercules Capital Secured Term Loan | Payment in Kind (PIK)              
Shares Issued And Outstanding [Line Items]              
Debt instrument, payment-in-kind interest     1.25%        
Hercules Capital Secured Term Loan | Prime Rate              
Shares Issued And Outstanding [Line Items]              
Effective interest rate     3.25%        
Indenture and Notes | 4.250% Convertible Senior Notes              
Shares Issued And Outstanding [Line Items]              
Aggregate principal amount             $ 355,000,000
Effective interest rate             4.25%
Conversion price percent       1.30      
Trading days | day       20      
Measurement period less than       0.98      
Conversion rate       19510.29%      
Conversion price ( in dollars per share) | $ / shares       $ 5.13      
Outstanding notes       $ 355,000,000      
Debt issuance costs       $ 9,608,000      
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 trading days | day       10      
Capped Call Transactions              
Shares Issued And Outstanding [Line Items]              
Capped call transaction cost $ 43,168,000            
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 advances aggregate amount   $ 70,000,000          
Loan agreement payment term   60 months          
Blanket Lien Draw | Trinity Master Equipment Financing Agreement              
Shares Issued And Outstanding [Line Items]              
Term loan advances aggregate amount   $ 40,000,000          
Loan agreement payment term   60 months          
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          
Blanket Lien Draw | Trinity Master Equipment Financing Agreement | Line Of Credit Condition 1              
Shares Issued And Outstanding [Line Items]              
Number of advances | advance   3