Annual report pursuant to Section 13 and 15(d)

Debt - Narrative (Details)

v3.24.1
Debt - Narrative (Details)
9 Months Ended 12 Months Ended
Mar. 13, 2023
USD ($)
quarter
Apr. 04, 2022
USD ($)
shares
Dec. 31, 2023
USD ($)
shares
Dec. 31, 2022
USD ($)
Mar. 28, 2023
USD ($)
quarter
$ / shares
shares
Jan. 06, 2023
USD ($)
Dec. 30, 2022
USD ($)
Aug. 11, 2022
USD ($)
quarter
Sep. 03, 2021
USD ($)
Debt Instrument [Line Items]                  
Issuance of common stock for debt modification       $ 17,416,000          
Warrants outstanding (in shares) | shares     833,330            
Warrant liability     $ 7,214,000 0          
March 2023 Cargill Warrant                  
Debt Instrument [Line Items]                  
Warrant price (in dollars per share) | $ / shares         $ 13.00        
Warrant liability     $ 25,700,000            
Senior Credit Agreement | Loans Payable                  
Debt Instrument [Line Items]                  
Debt, face amount                 $ 200,000,000
Debt covenant, minimum liquidity amount                 30,000,000
Debt instrument, increase of interest rate   2.00%              
Senior Facility | Loans Payable                  
Debt Instrument [Line Items]                  
Debt, face amount                 150,000,000
Debt instrument, amortization period     10 years            
Senior Facility | Loans Payable | Minimum | Secured Overnight Financing Rate (SOFR)                  
Debt Instrument [Line Items]                  
Debt basis spread on variable rate     7.50%            
Senior Facility | Loans Payable | Maximum | Secured Overnight Financing Rate (SOFR)                  
Debt Instrument [Line Items]                  
Debt basis spread on variable rate     8.50%            
Subordinated Facility | Loans Payable                  
Debt Instrument [Line Items]                  
Debt, face amount                 $ 50,000,000
Interest rate percentage     12.50%            
First Amendment of the Credit Agreements | Loans Payable                  
Debt Instrument [Line Items]                  
Debt, face amount   $ 170,000,000              
Debt covenant, minimum liquidity amount   $ 20,000,000              
Interest rate percentage   12.50%              
Debt amendment fee   $ 2,000,000              
Issuance of common stock for debt modification (in shares) | shares   1,932,931              
Write off of deferred debt issuance cost       700,000          
Issuance of common stock for debt modification       $ 17,400,000          
Second Amendment of the Credit Agreements | Loans Payable                  
Debt Instrument [Line Items]                  
Debt instrument, covenant, interest amount               $ 0  
Outstanding period | quarter               4  
Third Amendment of the Credit Agreements | Loans Payable                  
Debt Instrument [Line Items]                  
Debt covenant, debt service reserve account requirement             $ 11,300,000    
Capital expenditures covenant, applicable construction budget             $ 1,000,000    
Fourth Amendment of the Credit Agreements | Loans Payable                  
Debt Instrument [Line Items]                  
Debt covenant, minimum liquidity amount           $ 11,000,000      
Fifth Amendment To Original Credit Agreements | Loans Payable                  
Debt Instrument [Line Items]                  
Debt, face amount $ 170,000,000                
Debt covenant, minimum liquidity amount 1,000,000                
Debt covenant, debt service reserve account requirement $ 11,000,000                
Debt covenant, debt service reserve account requirement, number of calendar quarters | quarter 2                
Debt covenant, payment in kind of quarterly interest and unused commitment fee payable $ 4,300,000                
Sixth Amendment To Original Credit Agreements | Loans Payable                  
Debt Instrument [Line Items]                  
Debt, face amount         $ 280,000,000        
Debt covenant, payment in kind of quarterly interest payment due and payable         5,000,000        
Debt service reserve account         $ 0        
Debt covenant, debt service reserve account requirement, number of quarters of scheduled interest payments | quarter         2        
Debt covenant, debt service reserve account requirement, number of quarters of scheduled amortization payments | quarter         2        
Sixth Amendment To Original Credit Agreements | Loans Payable | March 2023 Cargill Warrant                  
Debt Instrument [Line Items]                  
Warrants outstanding (in shares) | shares         5,400,000        
Warrant price (in dollars per share) | $ / shares         $ 13.00        
Warrants term         5 years