Annual report pursuant to Section 13 and 15(d)

Debt - Narrative (Details)

v3.24.1
Debt - Narrative (Details) - USD ($)
1 Months Ended 12 Months Ended
Dec. 21, 2022
Mar. 31, 2023
Dec. 31, 2022
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Jul. 21, 2025
Debt Instrument [Line Items]              
Loss on extinguishment of debt       $ 0 $ 4,663,000 $ 1,027,000  
Payment of debt issuance costs       925,000 2,463,000 $ 375,000  
Total principal debt payments       $ 79,500,000      
Revolving Credit Facility | Line of Credit | Loan And Security Agreement              
Debt Instrument [Line Items]              
Line of credit facility, maximum borrowing capacity   $ 35,000,000.0          
Long-term debt, percentage bearing variable interest, percentage rate       9.18%      
Long-term line of credit       $ 7,500,000      
Debt issuance costs, gross   $ 1,100,000          
Line of credit facility, additional borrowing capacity       8,100,000      
Revolving Credit Facility | Line of Credit | Federal Funds Rate              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate   0.50%          
Revolving Credit Facility | Line of Credit | Base Rate              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate   5.00%          
Revolving Credit Facility | Line of Credit | Base Rate | Minimum              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate   2.75%          
Revolving Credit Facility | Line of Credit | Base Rate | Maximum              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate   4.50%          
Revolving Credit Facility | Line of Credit | Secured Overnight Financing Rate (SOFR)              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate   0.10%          
Revolving Credit Facility | Line of Credit | Secured Overnight Financing Rate (SOFR) | Minimum              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate   3.75%          
Revolving Credit Facility | Line of Credit | Secured Overnight Financing Rate (SOFR) | Maximum              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate   5.50%          
Structural Lenders | Structural Debt Facility              
Debt Instrument [Line Items]              
Debt instrument, face amount     $ 72,000,000   72,000,000    
Other long-term debt     60,620,000 $ 64,162,000 60,620,000    
Debt instrument, interest rate, effective percentage       21.37%      
Debt instrument, covenant, minimum unrestricted cash required to maintain     $ 57,000,000   $ 57,000,000    
Debt instrument, unamortized discount (premium), net $ 1,100,000            
Payment of debt issuance costs 3,300,000            
Total principal debt payments       $ 72,000,000      
Structural Lenders | Structural Debt Facility | Structural Derivative Liability | Level 3              
Debt Instrument [Line Items]              
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases $ 7,100,000            
Structural Lenders | Structural Debt Facility | Forecast              
Debt Instrument [Line Items]              
Debt instrument, anniversary of closing date             30 months
Trading days prior to such date             60 days
Structural Lenders | Structural Debt Facility | Class A Common Stock              
Debt Instrument [Line Items]              
Issuance of shares (in shares) 990,000            
Structural Lenders | Structural Debt Facility | Class A Common Stock | Forecast              
Debt Instrument [Line Items]              
Contingently issuable shares, calculation, numerator             $ 9,900,000
Contingently issuable shares, calculation, maximum denominator             $ 10.00
Structural Lenders | Structural Debt Facility | Minimum              
Debt Instrument [Line Items]              
Debt instrument, interest rate, effective percentage     15.00%   15.00%    
Structural Lenders | Structural Debt Facility | Prime Rate              
Debt Instrument [Line Items]              
Debt instrument, basis spread on variable rate     7.50%