v3.26.1
Debt - Narrative (Details)
1 Months Ended 2 Months Ended 3 Months Ended 6 Months Ended
Mar. 05, 2024
USD ($)
Sep. 29, 2023
USD ($)
Jul. 31, 2026
USD ($)
shares
Jun. 30, 2026
USD ($)
Apr. 30, 2025
USD ($)
shares
Jun. 30, 2026
USD ($)
Jun. 30, 2025
USD ($)
Jun. 30, 2026
USD ($)
Jun. 30, 2025
USD ($)
Mar. 05, 2028
Mar. 05, 2027
May 31, 2026
USD ($)
Mar. 05, 2026
Dec. 31, 2025
USD ($)
Debt Instrument [Line Items]                            
Loss on debt extinguishment, net           $ (30,782,000) $ 0 $ (30,782,000) $ 0          
Long-term debt, net of unamortized debt issuance costs       $ 252,590,000   252,590,000   252,590,000           $ 220,335,000
Interest expense           6,947,000 7,358,000 13,831,000 14,663,000          
Amortization of debt discount and debt issuance costs           900,000 $ 800,000 1,796,000 $ 1,664,000          
2025 Convertible Notes | Convertible Debt                            
Debt Instrument [Line Items]                            
Extinguishment of convertible note   $ 32,000,000.0                        
Principal amount of convertible notes converted         $ 15,200,000                  
Issuance of common stock upon conversion of convertible notes (in shares) | shares         4,978,151                  
2028 Convertible Notes | Convertible Debt                            
Debt Instrument [Line Items]                            
Debt instrument face amount   $ 33,600,000                        
Stated interest rate   8.00%                        
Conversion ratio   0.3267974                        
Principal repaid       23,000,000.0                    
Loss on debt extinguishment, net       (30,800,000)                    
Fair value       92,200,000   92,200,000   92,200,000       $ 53,700,000    
Long-term debt, net of unamortized debt issuance costs       33,600,000   33,600,000   33,600,000            
Debt amount of holders which did not participate in exchange agreement       $ 10,500,000   $ 10,500,000   $ 10,500,000            
Effective interest rate 8.90%                          
2028 Convertible Notes | Convertible Debt | Subsequent Event                            
Debt Instrument [Line Items]                            
Long-term debt, net of unamortized debt issuance costs     $ 0                      
Repayments of debt     $ 23,000,000.0                      
2028 Convertible Notes | Convertible Debt | Subsequent Event | Common Stock                            
Debt Instrument [Line Items]                            
Shares issued (in shares) | shares     8,600,000                      
Hayfin Tranche 1 Loan | Secured Debt                            
Debt Instrument [Line Items]                            
Debt instrument face amount $ 200,000,000.0                          
Hayfin Tranche 2 Loan | Secured Debt                            
Debt Instrument [Line Items]                            
Debt instrument face amount 15,200,000                          
Hayfin Tranche 2 Loan | Secured Debt and Delayed Draw Term Loan                            
Debt Instrument [Line Items]                            
Debt instrument face amount $ 150,000,000.0                          
Hayfin 2029 Loans | Secured Debt                            
Debt Instrument [Line Items]                            
Debt Instrument, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) [Member]                          
Prepayment fee percentage                         5.00%  
Hayfin 2029 Loans | Secured Debt | Forecast                            
Debt Instrument [Line Items]                            
Prepayment fee percentage                   0.00% 3.00%      
Hayfin 2029 Loans | Secured Debt | Minimum                            
Debt Instrument [Line Items]                            
Debt instrument, basis spread on variable rate 6.95%                          
Variable rate 2.00%                          
Hayfin 2029 Loans | Secured Debt | Maximum                            
Debt Instrument [Line Items]                            
Debt instrument, basis spread on variable rate 5.95%                          
Hayfin 2029 Loans | Secured Debt and Delayed Draw Term Loan                            
Debt Instrument [Line Items]                            
Effective interest rate 11.40%