v3.26.1
Borrowings - Narrative (Details)
3 Months Ended 6 Months Ended
Jun. 03, 2026
USD ($)
shares
Nov. 24, 2025
USD ($)
tradingDay
$ / shares
Nov. 18, 2025
Jul. 29, 2025
Jun. 13, 2025
USD ($)
Jun. 03, 2025
USD ($)
tradingDay
$ / shares
May 28, 2025
USD ($)
Nov. 26, 2024
USD ($)
tranche
Jun. 21, 2024
USD ($)
Jun. 30, 2026
USD ($)
$ / shares
shares
Dec. 31, 2025
USD ($)
$ / shares
shares
Sep. 30, 2025
shares
Jun. 30, 2025
USD ($)
Jun. 30, 2026
USD ($)
$ / shares
shares
Jun. 30, 2025
USD ($)
Jun. 02, 2026
shares
May 31, 2025
Apr. 16, 2025
USD ($)
Jan. 31, 2023
USD ($)
$ / shares
Sep. 30, 2021
USD ($)
Jul. 06, 2021
USD ($)
Debt Instrument                                          
Cash paid for interest                           $ 7,147,000 $ 127,000            
Common stock, par value (in dollars per share) | $ / shares                   $ 0.0001 $ 0.0001     $ 0.0001              
Loss on debt extinguishment                   $ 0     $ 49,063,000 $ 0 49,063,000            
Change in fair value of debt - credit risk - related party                   (45,629,000)     (6,224,000) (4,090,000) (6,224,000)            
Long-term debt, current                   $ 0 $ 372,000     $ 0              
Common stock, shares authorized (in shares) | shares 800,000,000                 800,000,000 800,000,000     800,000,000   600,000,000          
Adjustments to additional paid in capital, fair value $ 133,231,000                                        
Convertible Notes                                          
Debt Instrument                                          
Debt instrument, covenant, interest expense reserve required, period     18 months                                    
November 2025 Convertible Note | Convertible Notes                                          
Debt Instrument                                          
Principal amount           $ 122,868,000                              
Cash paid for interest           3,072,000                              
Repayments of long-term debt           131,000,000                              
Debt instrument, premium repayment contingency           5,000,000                              
Proceeds from repayment of debt premium         $ 5,000,000                                
Non-cash interest expense - related parties                   $ 0     2,671,000 $ 0 6,613,000            
November 2025 Convertible Note | Convertible Notes | Related Party                                          
Debt Instrument                                          
Principal amount                                         $ 100,000,000
AFG Convertible Notes | Convertible Notes                                          
Debt Instrument                                          
Interest rate during period       7.00%                                  
Common stock, par value (in dollars per share) | $ / shares                                     $ 0.0001    
Conversion price per unit (in dollars per share) | $ / shares                                     $ 1.67    
AFG Convertible Notes | Convertible Notes | Common Stock                                          
Debt Instrument                                          
Conversion rate (as a percent)                       59.88024%                  
Shares issued on conversion (in shares) | shares                     2,863,291 16,578,810                  
AFG Convertible Notes | Convertible Notes | Related Party                                          
Debt Instrument                                          
Principal amount                                     $ 13,750,000    
Non-cash interest expense - related parties                   $ 0     1,839,000 $ 0 3,678,000            
AFG Convertible Notes | Convertible Notes | Related Party | Period One                                          
Debt Instrument                                          
Stated interest rate (as a percent)                                     26.50%    
Delayed Draw Term Loan | Secured Debt                                          
Debt Instrument                                          
Principal amount                 $ 210,500,000                        
Delayed Draw Term Loan | Secured Debt                                          
Debt Instrument                                          
Stated interest rate (as a percent)                   7.00%       7.00%              
Percentage of original issue discount                 5.00%                        
Percentage of additional debt instrument, interest rate                           5.00%              
Delayed Draw Term Loan | Senior Notes                                          
Debt Instrument                                          
Proceeds from issuance of senior long-term debt                 $ 198,800,000                        
Delayed Draw Term Loan | Line of Credit | Revolving Credit Facility                                          
Debt Instrument                                          
Maximum borrowing capacity                 105,000,000                        
Delayed Draw Term Loan (DDTL) | Secured Debt                                          
Debt Instrument                                          
Debt instrument, writ or warrant excess amount                 $ 2,500,000                        
Modification of the DDTL                                          
Debt Instrument                                          
Extinguishment of debt amount             $ 50,000,000                            
Loss on debt extinguishment             $ (38,375,000)           16,245,000   16,245,000            
Equipment financing facility                                          
Debt Instrument                                          
Long-term line of credit                   $ 0 $ 372,000     $ 0              
Long-term debt, current                   0 372,000     0              
Non-cash interest expense - related parties                   0     53,000 52,000 136,000            
Equipment financing facility | Line of Credit                                          
Debt Instrument                                          
Maximum borrowing capacity                                       $ 25,000,000  
May 2025 Convertible Notes | Convertible Notes                                          
Debt Instrument                                          
Principal amount           $ 225,000,000                              
Stated interest rate (as a percent)                                 6.75%        
Conversion price per unit (in dollars per share) | $ / shares           $ 5.10                              
Non-cash interest expense - related parties                   936,000     1,348,000 1,861,000 1,348,000            
Debt instrument, option payment amounts           $ 25,000,000                              
Threshold percentage of stock price trigger           130.00%                              
Threshold consecutive trading days | tradingDay           20                              
Trading days | tradingDay           30                              
Sale price of common stock period   10 days       10 days                              
Sale price of common stock   98.00%       98.00%                              
Debt instrument convertible trading price condition conversion window business days | tradingDay   5       5                              
Excess stock price threshold           130.00%                              
Aggregate principal amount           $ 75,000,000                              
Interest payable                   141,000 141,000     141,000              
May 2025 Convertible Notes | Convertible Notes | Period One                                          
Debt Instrument                                          
Debt instrument initial purchaser option period | tradingDay           13                              
May 2025 Convertible Notes | Convertible Notes | Period Two                                          
Debt Instrument                                          
Debt instrument initial purchaser option period | tradingDay   2       2                              
November 2025 Convertible Notes | Convertible Notes                                          
Debt Instrument                                          
Principal amount   $ 525,000,000                                      
Stated interest rate (as a percent)   1.75%                                      
Conversion price per unit (in dollars per share) | $ / shares   $ 16.29                                      
Non-cash interest expense - related parties                   11,089,000       21,768,000              
Debt instrument initial purchaser option period | tradingDay   13                                      
Debt instrument, option payment amounts   $ 75,000                                      
Threshold consecutive trading days | tradingDay   20                                      
Trading days | tradingDay   30                                      
Excess stock price threshold   130.00%                                      
Aggregate principal amount   $ 75,000,000                                      
Interest payable                   846,000 $ 1,050,000     846,000              
DOE Loan Facility | DOE Loan Facility Tranche 1                                          
Debt Instrument                                          
Maximum borrowing capacity                                   $ 90,945,000      
DOE Loan Facility | DOE Loan Facility Tranche 2                                          
Debt Instrument                                          
Maximum borrowing capacity                                   106,733,000      
DOE Loan Facility | DOE Loan Facility Tranche 3                                          
Debt Instrument                                          
Maximum borrowing capacity                                   67,529,000      
DOE Loan Facility | DOE Loan Facility Tranche 4                                          
Debt Instrument                                          
Maximum borrowing capacity                                   $ 12,290,000      
DOE Loan Facility | Line of Credit                                          
Debt Instrument                                          
Maximum borrowing capacity               $ 277,497,000                          
Non-cash interest expense - related parties                   $ 1,666,000     $ 1,408,000 $ 3,280,000 $ 2,835,000            
Line of credit facility, maximum capitalized interest               $ 25,953,000                          
Eligible project costs, percentage               80.00%                          
Funding cost of debt, percentage               20.00%                          
Debt instrument, variable interest rate, type flag               US Treasury (UST) Interest Rate [Member]                          
Variable rate spread               0.375%                          
Debt instrument, covenant, interest expense reserve required, period             24 months                            
DOE Loan Facility | Line of Credit | Minimum                                          
Debt Instrument                                          
Debt instrument, number of tranches | tranche               2                          
DOE Loan Facility | Line of Credit | Maximum                                          
Debt Instrument                                          
Debt instrument, number of tranches | tranche               4