v3.25.2
Borrowings - Narrative (Details)
1 Months Ended 3 Months Ended 6 Months Ended 7 Months Ended 46 Months Ended
Jun. 30, 2025
USD ($)
$ / shares
Jun. 03, 2025
USD ($)
tradingDay
$ / shares
May 28, 2025
USD ($)
Jan. 24, 2025
USD ($)
Dec. 31, 2024
USD ($)
$ / shares
Nov. 26, 2024
USD ($)
tranche
Oct. 31, 2024
USD ($)
Aug. 29, 2024
USD ($)
Jun. 21, 2024
USD ($)
Jul. 29, 2022
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2025
USD ($)
$ / shares
Jun. 13, 2025
USD ($)
Jun. 11, 2025
USD ($)
Apr. 16, 2025
USD ($)
Jan. 31, 2025
USD ($)
Aug. 31, 2024
USD ($)
Jun. 20, 2024
USD ($)
Jan. 31, 2023
USD ($)
Jan. 18, 2023
USD ($)
$ / shares
Jul. 06, 2021
USD ($)
Debt Instrument [Line Items]                                                      
Common stock, par value (in dollars per share) | $ / shares $ 0.0001       $ 0.0001               $ 0.0001   $ 0.0001   $ 0.0001 $ 0.0001                  
Proceeds from issuance of secured debt                             $ 38,475,000 $ 70,075,000                      
Change in fair value of debt - credit risk - related party                         $ (6,224,000) $ 0 (6,224,000) 0                      
Loss (gain) on debt extinguishment                         49,063,000 (68,478,000) 49,063,000 (68,478,000)                      
Change in the fair value of debt                         31,615,000 (240,000) 25,682,000 (240,000)                      
Change in fair value of debt - credit risk - related party                         6,224,000 0 6,224,000 0                      
Loss from in fair value of risk adjustment, before reclassification                             22,469,000                        
Change in fair value of risk, reclassification adjustment                             16,245,000                        
Carrying Value $ 445,277,000       $ 316,896,000               445,277,000   445,277,000   $ 445,277,000 $ 445,277,000                  
Long-term debt, current 1,073,000       2,014,000               1,073,000   1,073,000   1,073,000 1,073,000                  
Cash paid for interest                             127,000 4,131,000                      
Related Party                                                      
Debt Instrument [Line Items]                                                      
Accumulated other comprehensive income (loss) (49,714,000)       (43,490,000)               (49,714,000)   $ (49,714,000)   (49,714,000) (49,714,000)                  
Secured Debt                                                      
Debt Instrument [Line Items]                                                      
Temporary equity dividend rate percentage     1.00%                                                
Delayed Draw Term Loan                                                      
Debt Instrument [Line Items]                                                      
Fair Value     $ 2,381,000                                                
Repayments of long-term debt     47,619,000                                                
Delayed Draw Term Loan | Secured Debt                                                      
Debt Instrument [Line Items]                                                      
Principal amount                 $ 210,500,000                                    
Stated interest rate                                               7.00%      
Proceeds from issuance of secured debt       $ 40,500,000     $ 65,000,000 $ 30,000,000                                      
Percentage of original issue discount                                               5.00%      
Proceeds from issuance of unsecured debt, net of original issue discount       $ 38,475,000     61,750,000 $ 28,500,000                                      
Percentage of debt exit fee                 5.00%                                    
Restricted cash minimum liquidity requirement increases         15,000,000                                            
Delayed milestone penalty, aggregate, percentage                             1.00%                        
Debt instrument, writ or warrant excess amount                 $ 2,500,000                                    
Fair Value 61,705,000           $ 28,340,000           61,705,000   $ 61,705,000   61,705,000 61,705,000       $ 17,312,000 $ 12,528,000 $ 25,653,000      
Change in the fair value of debt                         31,615,000   25,682,000                        
Percentage of additional debt instrument, interest rate                 5.00%                                    
Carrying Value 61,705,000       76,188,000               61,705,000   61,705,000   61,705,000 61,705,000                  
2021 Convertible Note | Convertible Notes                                                      
Debt Instrument [Line Items]                                                      
Principal amount   $ 122,868,000                                                 $ 100,000,000
Loss (gain) on debt extinguishment                         10,688,000   (10,688,000)                        
Carrying Value 0       109,838,000               0   0   0 0                  
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                                                    
Interest payable         0                                            
Embedded conversion feature         1,272,000                                            
Non-cash interest expense - related parties                         2,671,000 3,479,000 6,613,000 6,895,000                      
Cash paid for interest   3,072,000                                                  
DOE Loan Facility                                                      
Debt Instrument [Line Items]                                                      
Carrying Value 68,023,000       65,452,000               68,023,000   68,023,000   68,023,000 68,023,000                  
DOE Loan Facility | DOE Loan Facility Tranche 1                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity                                         $ 90,945,000            
DOE Loan Facility | DOE Loan Facility Tranche 2                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity                                         106,733,000            
DOE Loan Facility | DOE Loan Facility Tranche 3                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity                                         67,529,000            
DOE Loan Facility | DOE Loan Facility Tranche 4                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity                                         $ 12,290,000            
DOE Loan Facility | DOE Loan Facility Tranche 1                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity $ 90,945,000         $ 101,979,000             $ 90,945,000   $ 90,945,000   $ 90,945,000 $ 90,945,000                  
DOE Loan Facility | DOE Loan Facility Tranche 2                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity           117,326,000                                          
DOE Loan Facility | DOE Loan Facility Tranche 3                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity           71,836,000                                          
DOE Loan Facility | DOE Loan Facility Tranche 4                                                      
Debt Instrument [Line Items]                                                      
Maximum borrowing capacity           12,309,000                                          
DOE Loan Facility | Line of Credit                                                      
Debt Instrument [Line Items]                                                      
Stated interest rate 4.791%                       4.791%   4.791%   4.791% 4.791%                  
Carrying Value $ 68,023,000       65,452,000               $ 68,023,000   $ 68,023,000   $ 68,023,000 $ 68,023,000                  
Maximum borrowing capacity           277,497,000                                          
Line of credit facility, maximum capitalized interest           $ 25,953,000                                          
Eligible project costs, percentage           80.00%                                          
Proceeds from long-term lines of credit                                 (68,279,000)                    
Non-cash interest expense - related parties                         1,408,000   2,835,000                        
Funding Cost of Debt, Percentage           20.00%                                          
DOE Loan Facility | Line of Credit | US Treasury (UST) Interest Rate                                                      
Debt Instrument [Line Items]                                                      
Variable rate spread           0.375%                                          
DOE Loan Facility | Line of Credit | DOE Loan Facility Tranche 1                                                      
Debt Instrument [Line Items]                                                      
Proceeds from long-term lines of credit                             (68,279,000)                        
DOE Loan Facility | Line of Credit | Minimum                                                      
Debt Instrument [Line Items]                                                      
Debt instrument, number of tranches | tranche           2                                          
DOE Loan Facility | Line of Credit | Maximum                                                      
Debt Instrument [Line Items]                                                      
Debt instrument, number of tranches | tranche           4                                          
DOE Loan Facility | PIK Interest                                                      
Debt Instrument [Line Items]                                                      
Carrying Value 68,023,000       65,452,000               68,023,000   68,023,000   68,023,000 68,023,000                  
Interest payable 128,000                       128,000   128,000   128,000 128,000                  
AFG Convertible Note | Related Party                                                      
Debt Instrument [Line Items]                                                      
Interest payable 2,962,000       4,924,000               2,962,000   2,962,000   2,962,000 2,962,000                  
AFG Convertible Note | Convertible Notes                                                      
Debt Instrument [Line Items]                                                      
Conversion price per unit (in dollars per share) | $ / shares                                                   $ 1.67  
Common stock, par value (in dollars per share) | $ / shares                                                   $ 0.0001  
AFG Convertible Note | Convertible Notes | Related Party                                                      
Debt Instrument [Line Items]                                                      
Principal amount                                                 $ 13,750,000 $ 13,750,000  
Carrying Value 75,225,000       63,033,000               75,225,000   75,225,000   75,225,000 75,225,000                  
Paid-in-kind interest rate                                                 26.50% 26.50%  
Embedded conversion feature 51,639,000       43,124,000               51,639,000   51,639,000   51,639,000 51,639,000                  
Non-cash interest expense - related parties                         1,839,000 1,433,000 3,678,000 2,868,000                      
Senior Secured Term Loan | Minimum | SOFR                                                      
Debt Instrument [Line Items]                                                      
Variable rate spread                   0.2616%                                  
Senior Secured Term Loan | Minimum | NYFRB                                                      
Debt Instrument [Line Items]                                                      
Variable rate spread                   0.50%                                  
Senior Secured Term Loan | Secured Debt                                                      
Debt Instrument [Line Items]                                                      
Principal amount                   $ 100,000,000                                  
Number of days prior to current maturity date                   91 days                                  
Senior Secured Term Loan | Secured Debt | Atlas Credit Agreement                                                      
Debt Instrument [Line Items]                                                      
Principal amount                 $ 100,000,000                             100,000,000      
Long-term restricted cash                 11,900,000                             $ 11,900,000      
Debt instrument, participation lieu payments                 1,000,000                                    
Payment for debt extinguishment cost                 $ 8,000,000                                    
Number of days prior to current maturity date                 91 days                                    
Senior Secured Term Loan | Secured Debt | Insurer Letter Agreement                                                      
Debt Instrument [Line Items]                                                      
Payment for debt extinguishment cost 4,000,000       3,000,000                                            
Senior Secured Term Loan | SOFR Loans                                                      
Debt Instrument [Line Items]                                                      
Variable rate spread                   8.50%                                  
Senior Secured Term Loan | ABR Loans                                                      
Debt Instrument [Line Items]                                                      
Stated interest rate                   7.50%                                  
Equipment financing facility                                                      
Debt Instrument [Line Items]                                                      
Carrying Value 1,073,000       2,385,000               1,073,000   1,073,000   1,073,000 1,073,000                  
Long-term line of credit 1,073,000       2,385,000               1,073,000   1,073,000   1,073,000 1,073,000                  
Long-term debt, current 1,073,000       2,014,000               1,073,000   1,073,000   1,073,000 1,073,000                  
Non-cash interest expense - related parties                         53,000 $ 178,000 136,000 $ 387,000                      
Equipment financing facility | Line of Credit                                                      
Debt Instrument [Line Items]                                                      
Carrying Value $ 1,073,000       2,385,000               $ 1,073,000   $ 1,073,000   $ 1,073,000 1,073,000                  
Maximum borrowing capacity                       $ 25,000,000                              
Proceeds from long-term lines of credit                     $ (4,216,000) $ (7,000,000)           $ (11,216,000)                  
2025 Convertible Notes | Convertible Notes                                                      
Debt Instrument [Line Items]                                                      
Principal amount   225,000,000                                                  
Debt instrument, option payment amounts   $ 25,000,000                                                  
Stated interest rate 6.75%                       6.75%   6.75%   6.75% 6.75%                  
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                                                  
Sale price of common stock   98.00%                                                  
Conversion price per unit (in dollars per share) | $ / shares   $ 5.10                                                  
Excess stock price threshold   130.00%                                                  
Aggregate principal amount   $ 75,000,000                                                  
Carrying Value $ 239,251,000 $ 215,126,000     $ 0               $ 239,251,000   $ 239,251,000   $ 239,251,000 $ 239,251,000 $ 239,126,000 $ 227,126,000              
Interest payable $ 1,223,000                       1,223,000   1,223,000   $ 1,223,000 $ 1,223,000                  
Non-cash interest expense - related parties                         $ 1,348,000   $ 1,348,000                        
Delayed Draw Term Loan (DDTL), Initial Draw | Secured Debt                                                      
Debt Instrument [Line Items]                                                      
Principal amount                 $ 75,000,000                                    
Proceeds from issuance of secured debt                 70,075,000                                    
Proceeds from issuance of unsecured debt, net of original issue discount                 $ 71,250,000                                    
Modification of the DDTL                                                      
Debt Instrument [Line Items]                                                      
Change in fair value of debt - credit risk - related party     16,245,000                                                
Accumulated other comprehensive income (loss)     50,000,000                                                
Loss (gain) on debt extinguishment     38,375,000                                                
Change in fair value of debt - credit risk - related party     $ (16,245,000)