v3.25.2
Credit and Securities Purchase Transaction - Narrative (Details)
6 Months Ended
Jul. 29, 2025
Jun. 30, 2025
USD ($)
$ / shares
shares
May 28, 2025
USD ($)
Apr. 30, 2025
milestone
Jan. 24, 2025
USD ($)
Dec. 31, 2024
USD ($)
$ / shares
shares
Oct. 31, 2024
USD ($)
Sep. 11, 2024
$ / shares
Aug. 29, 2024
USD ($)
shares
Jun. 21, 2024
USD ($)
installment
businessDay
$ / shares
shares
Jun. 30, 2025
USD ($)
$ / shares
shares
Jun. 30, 2024
USD ($)
Jun. 29, 2025
shares
Jun. 03, 2025
USD ($)
May 29, 2025
USD ($)
May 27, 2025
Jun. 20, 2024
USD ($)
$ / shares
Jan. 31, 2023
USD ($)
Jan. 18, 2023
USD ($)
Jul. 29, 2022
USD ($)
Jul. 06, 2021
USD ($)
May 22, 2020
$ / shares
Credit and Securities Purchase Transaction [Line Items]                                            
Proceeds from issuance of secured debt                     $ 38,475,000 $ 70,075,000                    
Exercise price of warrants (in dollars per share) | $ / shares                                           $ 11.50
Preferred stock, shares issued (in shares) | shares   0       0         0                      
Preferred stock issued per unit (in dollars per share) | $ / shares   $ 0.0001       $ 0.0001         $ 0.0001                      
Stock split ratio               1,000,000                            
Preferred stock ownership percentage 1                     10.00%                      
Preferred stock ownership percentage 2                     15.00%                      
Preferred stock ownership percentage 3                     30.00%                      
Preferred stock ownership percentage 4                     40.00%                      
Preferred stock, no longer beneficially owned                     5.00%                      
Preferred Stock                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Proceeds from issuance of preferred stock                   $ 455,822.59                        
Number of common shares issuable upon conversion (in shares) | shares                   31,940,063                        
Series B-1 Preferred Stock                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Preferred stock, shares issued (in shares) | shares   31.940063                 31.940063                      
Preferred stock issued per unit (in dollars per share) | $ / shares               $ 0.0001                            
Series B Preferred Stock                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Preferred stock, number of business days prior to current period | businessDay                   5                        
Series B-4 Preferred Stock                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Preferred stock, shares issued (in shares) | shares   16.150528                 16.150528                      
Convertible preferred stock (in shares) | shares   17,305,070                 17,305,070   1,154,542                  
Down round deemed dividend                     $ 4,456,000                      
SPA Warrant | Related Party | Common Stock                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Common stock to be purchased through each warrant (in shares) | shares                   43,276,194                        
Time to expiration                   10 years             10 years          
Exercise price of warrants (in dollars per share) | $ / shares   $ 0.01               $ 0.01 $ 0.01           $ 0.01          
Maximum percentage of additional common stock issued                   19.99%                        
Warrant conversion cap increases percentage                   49.90%                        
SPA Warrant | Related Party | Common Stock | CCM Denali Equity Holdings, LP                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Initial ownership interest                   19.90%                        
SPA Warrant and Contingent Warrants | Related Party | Common Stock | CCM Denali Equity Holdings, LP                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Initial ownership interest                   33.00%             33.00%          
Cerberus Warrants | Subsequent Event                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Percentage of outstanding shares converted upon exercise (percent) 1.00%                                          
Secured Debt                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Temporary equity dividend rate percentage     1.00%                                      
Secured Debt | Subsequent Event                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Temporary equity dividend rate percentage 1.00%                                          
Delayed Draw Term Loan | Secured Debt                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Principal amount                   $ 210,500,000                        
Number of installments | installment                   4                        
Proceeds from issuance of secured debt         $ 40,500,000   $ 65,000,000   $ 30,000,000                          
Interest rate at period end     7.00%                                      
Delayed Draw Term Loan (DDTL), Initial Draw | Secured Debt                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Principal amount                   $ 75,000,000                        
Proceeds from issuance of secured debt                   70,075,000                        
Credit Facility | Line of Credit | Revolving Credit Facility                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Maximum borrowing capacity                   $ 105,000,000                        
Credit Agreement | Preferred Stock                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Preferred stock, shares issued (in shares) | shares                   59                        
Credit Agreement | Series A-2 Preferred Stock                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Preferred stock, shares issued (in shares) | shares                 7                          
Proceeds from issuance of preferred stock                 $ 9,555,515.3                          
Number of common shares issuable upon conversion (in shares) | shares                 28,806,463                          
Credit agreement, increase in applicable percentage                 4.90%                          
Senior Secured Term Loan | Secured Debt                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Principal amount                                       $ 100,000,000    
Senior Secured Term Loan | Secured Debt | Insurer Letter Agreement                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Payment for debt extinguishment cost   $ 4,000,000       $ 3,000,000                                
Senior Secured Term Loan | Secured Debt | Atlas Credit Agreement                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Principal amount                   $ 100,000,000             $ 100,000,000          
Long-term restricted cash                   11,900,000             $ 11,900,000          
Payment for debt extinguishment cost                   8,000,000                        
Debt instrument, participation lieu payments                   $ 1,000,000                        
First Amendment to Credit and Guaranty Agreement                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Number of sales milestones achieved | milestone       3                                    
Number of sales milestones | milestone       4                                    
First Amendment to Credit and Guaranty Agreement | Subsequent Event                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Failure to meet sales milestone, applicable percentage increase 1.00%                                          
Second Credit Agreement Amendment | Secured Debt                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Debt instrument stated interest rate                               15.00%            
2021 Convertible Note | Convertible Notes Payable                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Repayments of convertible debt     $ 50,000,000                                      
2021 Convertible Note | Convertible Notes                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Principal amount                           $ 122,868,000             $ 100,000,000  
AFG Convertible Note | Convertible Notes | Related Party                                            
Credit and Securities Purchase Transaction [Line Items]                                            
Principal amount                                   $ 13,750,000 $ 13,750,000      
Maximum cash consideration to retire debt                             $ 115,000,000