Quarterly report pursuant to Section 13 or 15(d)

DEBT - Senior Credit Agreement and Bridge Loan (Details)

v3.24.2.u1
DEBT - Senior Credit Agreement and Bridge Loan (Details)
2 Months Ended 3 Months Ended 6 Months Ended 50 Months Ended
Jun. 25, 2024
USD ($)
$ / shares
Aug. 21, 2024
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
May 06, 2024
USD ($)
Apr. 09, 2024
USD ($)
May 04, 2020
USD ($)
Line of Credit Facility [Line Items]                    
Proceeds from long term line of credit         $ 114,253,000 $ 51,000,000        
Settlement payment $ 18,300,000                  
Gain on extinguishment of debt     $ 163,566,000 $ 0 163,566,000 $ 0        
Unamortized debt issuance cost     48,900,000   48,900,000   $ 48,900,000      
Debt discount         212,500,000          
Long-term debt     871,012,000   871,012,000   871,012,000      
Series C Preferred Stock                    
Line of Credit Facility [Line Items]                    
Settlement payment 18,000,000                  
Senior Credit Agreement                    
Line of Credit Facility [Line Items]                    
Additional cash eligible for interest payments     170,100,000   170,100,000   170,100,000      
Senior Credit Agreement | Subsequent Event                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity   $ 29,400,000                
Long-term debt   662,400,000                
Amendment Number 16 to the Senior Secured Credit Agreement                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity 691,800,000                  
Senior secured term loan facility | Bakersfield Renewable Fuels LLC                    
Line of Credit Facility [Line Items]                    
Line of credit facility, current borrowing capacity                   $ 300,000,000.0
Tranche B Senior Credit Facility                    
Line of Credit Facility [Line Items]                    
Debt discount 10,300,000                  
Tranche B Senior Credit Facility | Series C Preferred Stock                    
Line of Credit Facility [Line Items]                    
Outstanding shares 28,200,000                  
Settlement payment 17,900,000                  
Tranche B Senior Credit Facility | BKRF OCB, LLC                    
Line of Credit Facility [Line Items]                    
Proceeds from long term line of credit             637,700,000      
Tranche B Senior Credit Facility | BKRF OCB, LLC | Subsequent Event                    
Line of Credit Facility [Line Items]                    
Proceeds from long term line of credit   $ 24,700,000                
Tranche B Senior Credit Facility | Amendment Number 9 to the Senior Secured Credit Agreement                    
Line of Credit Facility [Line Items]                    
Line of credit increase accrued interest         53,100,000          
Tranche B Senior Credit Facility | Amendment Number 16 to the Senior Secured Credit Agreement                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity $ 132,400,000                  
Debt instrument, convertible, conversion price | $ / shares $ 1.40                  
Tranche B Senior Credit Facility | Bakersfield Renewable Fuels LLC | BKRF OCB, LLC                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity     $ 691,800,000   $ 691,800,000   $ 691,800,000      
Tranche D                    
Line of Credit Facility [Line Items]                    
Multiple on invested capital         1.35          
Tranche D | Amendment Number 14 to the Senior Secured Credit Agreement                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity                 $ 165,000,000  
Tranche D | Amendment Number 14 to the Senior Secured Credit Agreement | New Funding                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity                 $ 25,000,000  
Tranche D | Amendment Number 15 to the Senior Secured Credit Agreement                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity               $ 180,000,000    
Tranche D | Amendment Number 15 to the Senior Secured Credit Agreement | New Funding                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity               $ 15,000,000    
Tranche D | Amendment Number 16 to the Senior Secured Credit Agreement                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity $ 272,200,000                  
Debt instrument, convertible, conversion price | $ / shares $ 1.00                  
Tranche D | Amendment Number 16 to the Senior Secured Credit Agreement | Administrative Agent                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity $ 20,400,000                  
Tranche C Senior Credit Facility | Amendment Number 16 to the Senior Secured Credit Agreement                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity $ 35,000,000                  
Multiple on invested capital 1.35