Annual report [Section 13 and 15(d), not S-K Item 405]

Long-Term Debt - Senior Convertible Notes (Details)

v3.25.1
Long-Term Debt - Senior Convertible Notes (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2024
USD ($)
Sep. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
$ / shares
shares
Dec. 31, 2023
USD ($)
Aug. 14, 2023
USD ($)
Aug. 10, 2023
USD ($)
Dec. 31, 2022
USD ($)
Debt Instrument [Line Items]              
Repayments of secured debt     $ 0 $ 17,000      
Interest expense $ 3,560 $ 12,920 15,968 9,722      
Equipment Loan              
Debt Instrument [Line Items]              
Debt instrument, unamortized discount       $ 0      
Outstanding debt             $ 5,400
Effective interest rate (as a percent)       41.10%      
Equipment Loan | Line of Credit              
Debt Instrument [Line Items]              
Loss on debt extinguishment     200        
Repayments of secured debt     21,900        
Debt instrument, repaid, accrued interest     $ 300        
Senior Secured Convertible Notes              
Debt Instrument [Line Items]              
Outstanding debt       $ 0      
Securities purchase agreement, issue and sell in offering, aggregate principal amount of notes           $ 105,000  
Securities purchase agreement, aggregate principal amount of notes         $ 70,000    
Securities purchase agreement, right to purchase         $ 35,000    
Securities purchase agreement, note interest rate         6.00%    
Conversion of debt, shares issued (in shares) | shares     644.7453        
Securities purchase agreement, principal amount repaid         115.00%    
Securities purchase agreement, repayment calculation rate         12.50%    
Senior secured convertible notes, principal balance reduction rate         1.15    
Debt instrument, convertible, conversion ratio     1,000        
Conversion price | $ / shares     $ 1.55        
Deferred financing costs       4,100      
Interest expense       600      
Debt instrument, repaid, principal     $ 22,400        
Loss on debt extinguishment, unamortized deferred financing costs       3,500      
Loss on debt extinguishment, unamortized discount       19,700      
Senior convertible notes, interest paid       1,900      
Senior convertible notes, accrued interest       7,200      
Senior convertible notes, capitalized discounts       24,400      
Senior convertible notes, capitalized discounts, debt derivatives       13,900      
Senior convertible notes, capitalized discounts, maturity balance       10,500      
Senior convertible notes, capitalized discounts, amortized expense       $ 4,700