Annual report pursuant to Section 13 and 15(d)

Long-Term Debt - Senior Convertible Notes (Details)

v3.24.1
Long-Term Debt - Senior Convertible Notes (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2023
USD ($)
$ / shares
shares
Dec. 31, 2022
USD ($)
Aug. 14, 2023
USD ($)
Aug. 10, 2023
USD ($)
Debt Instrument [Line Items]        
Interest Expense $ 9,722 $ 372    
Loss on debt extinguishment (19,450) 0    
Repayments of Secured Debt 17,000 0    
Equipment loan        
Debt Instrument [Line Items]        
Debt Instrument, Unamortized Discount 0      
Outstanding debt $ 0 $ 5,356    
Effective interest rate (as a percent) 41.10%      
Line of credit | Equipment loan        
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]        
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 (in usd per share) | $ / 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      
Outstanding debt 0      
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