v3.24.3
Subsequent Events - Additional Information (Details) - USD ($)
Nov. 12, 2024
Sep. 30, 2024
Dec. 31, 2023
Subsequent Event [Line Items]      
Preferred Stock, par value   $ 0.0001 $ 0.0001
Investors purchased shares   1,000,000 1,000,000
Subsequent Event | Subscription Agreement      
Subsequent Event [Line Items]      
Annual percentage of cash in leiu payments with accured interest 10.00%    
Subsequent Event | Common Stock | Subscription Agreement      
Subsequent Event [Line Items]      
Number of stock initially converted 263.7358    
Number of common shares issuable upon conversion 26,502,042    
Percentage of common stock conversion price 200.00%    
Subsequent Event | Convertible Preferred Stock | Subscription Agreement      
Subsequent Event [Line Items]      
Liquidation preference per share $ 1,000    
Preferred stock dividend percentage 8.00%    
Shares of common stock in excess percentage 19.99%    
Common stock receivable to investor maximum percentage of outstanding shares 19.99%    
Common stock receivable to investor maximum percentage of outstanding shares in amount 19.99%    
Subsequent Event | Convertible Preferred Stock | Subscription Agreement | Maximum      
Subsequent Event [Line Items]      
Liquidation preference per share $ 1,500    
Subsequent Event | Convertible Preferred Stock | Series A | Subscription Agreement      
Subsequent Event [Line Items]      
Shares issued 130,000    
Preferred Stock, par value $ 0.0001    
Purchase price per share $ 1,000    
Aggregate gross proceeds $ 130,000,000    
Subsequent Event | Common Class A | Subscription Agreement      
Subsequent Event [Line Items]      
Purchase price per share $ 3.1597    
Repurchase of common stock value $ 23,500,000    
Number of shares repurchase 7,421,731    
Stock Repurchase Agreemements | Subsequent Event | Common Stock      
Subsequent Event [Line Items]      
Purchase price per share $ 3.1597    
Expected closing date Nov. 13, 2024    
Term Loan | Subsequent Event | 2021 Credit Agreement      
Subsequent Event [Line Items]      
Financial covenants The Third Amendment allows for the payment of cash to settle conversion obligations of the Convertible Preferred Stock provided that, (1) immediately before and immediately after giving effect to such payment, no Default or Event of Default (each as defined in the Third Amendment) shall have occurred and be continuing, (2) immediately after giving effect to such payment, (A) the Company and its subsidiaries shall be in pro forma compliance specified payments and (B) the pro forma Consolidated Total Net Leverage Ratio (as defined in the Credit Agreement) shall not exceed the ratio that is 0.25x less than the applicable covenant level, in each case, as of the last day of the most recent fiscal quarter for which financial statements have been delivered, (3) immediately after giving effect to such payment, Liquidity (as defined in the Credit Agreement) shall be at least $100,000, and (4) no proceeds of any Loans (as defined in the Credit Agreement) may be used for such payment.    
Consolidated total net leverage ratio. 0.25%    
Minimum liquidity amount $ 100,000,000    
Proceeds from Issuance of Secured Debt $ 0