v3.26.1
Debt - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jul. 01, 2026
USD ($)
Mar. 24, 2025
USD ($)
shares
Aug. 09, 2022
USD ($)
$ / shares
shares
Jun. 30, 2026
USD ($)
shares
Jun. 30, 2025
USD ($)
Mar. 31, 2025
USD ($)
Jun. 30, 2026
USD ($)
shares
Jun. 30, 2025
USD ($)
Dec. 31, 2025
USD ($)
shares
Feb. 26, 2025
USD ($)
offering
Debt Instrument [Line Items]                    
Number of equity offerings | offering                   2
Repayments of long-term debt             $ 0 $ 20,000    
Exchange agreement warrants acquired in agreement (in shares) | shares   37,232.83                
Amortization of debt issuance costs and debt discount             2,467 6,003    
Level 2                    
Debt Instrument [Line Items]                    
Debt instrument, estimated fair value       $ 85,889     $ 85,889   $ 73,991  
Common Warrants                    
Debt Instrument [Line Items]                    
Number of warrants outstanding (in shares) | shares       8,216,918     8,216,918      
Private Placement                    
Debt Instrument [Line Items]                    
Gain (loss) on extinguishment of debt           $ (600)        
Exchange agreement, principal amount of debt exchanged for securities (in shares)   $ 4,100                
Exchange Agreement, units without warrants                    
Debt Instrument [Line Items]                    
Exchange agreement warrants acquired in agreement (in shares) | shares   3,723,283                
Exchange Agreement, units without warrants | Common Warrants                    
Debt Instrument [Line Items]                    
Number of securities called by warrants or rights (in shares) | shares   7,446,562                
Exchange Agreement, units without warrants | Certain convertible debt lenders | Common Warrants                    
Debt Instrument [Line Items]                    
Number of securities called by warrants or rights (in shares) | shares   1,861,642                
Convertible Notes                    
Debt Instrument [Line Items]                    
Amortization period of debt discount (in years)     5 years              
Remaining amortization period of debt discount (in years)     1 year 1 month 6 days              
Facility Agreement                    
Debt Instrument [Line Items]                    
Debt issuance costs     $ 4,924              
Facility Agreement | Convertible Notes                    
Debt Instrument [Line Items]                    
Debt instrument, face amount     $ 110,000              
Interest rate (as a percent)     4.00%              
Minimum net quarterly revenues     $ 100,000              
Minimum unrestricted cash and cash equivalent balance                   $ 40
Repayments of long-term debt             $ 20,000      
Gain (loss) on extinguishment of debt           $ (2,900)        
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares     $ 8.567              
Conversion cap (in shares) | shares     14,663,019              
Conversion of stock, shares issued (in shares) | shares             0      
Number of warrants outstanding (in shares) | shares       0     0   0  
Proceeds from secured lines of credit     $ 110,000              
Long-term debt       $ 79,867     $ 79,867   $ 77,400  
Debt issuance costs     $ 3,663 $ 796     796   1,123  
Amortization period of debt issuance cost (in years)     5 years              
Effective yield (as a percent)       10.64% 10.64%          
Amortization of debt issuance costs and debt discount       $ 1,256 $ 1,129   2,467 6,003    
Interest accrued       868 863   1,727 1,878    
Accrued interest       $ 868 $ 868   $ 868 $ 868 $ 878  
Facility Agreement | Convertible Notes | Subsequent event                    
Debt Instrument [Line Items]                    
Repayment of debt $ 86,000                  
Facility Agreement | Convertible Note Warrant                    
Debt Instrument [Line Items]                    
Long-term debt     $ 0              
Debt issuance costs     0              
Facility Agreement | Optional Redemption                    
Debt Instrument [Line Items]                    
Long-term debt     0              
Debt issuance costs     0              
Facility Agreement | Embedded Conversion Option Feature                    
Debt Instrument [Line Items]                    
Long-term debt     28,160              
Debt issuance costs     $ 1,261