Annual report pursuant to Section 13 and 15(d)

Debt - Narrative (Details)

v3.23.1
Debt - Narrative (Details)
3 Months Ended 12 Months Ended
Dec. 31, 2022
USD ($)
Apr. 04, 2022
USD ($)
shares
Dec. 31, 2022
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Dec. 30, 2022
USD ($)
Aug. 11, 2022
USD ($)
qtr
Apr. 03, 2022
USD ($)
Sep. 03, 2021
USD ($)
Debt Instrument [Line Items]                  
Issuance of common stock for debt modification       $ 17,416,000 $ 0        
Debt service reserve account $ 11,300,000   $ 11,300,000 $ 11,300,000 $ 4,400,000        
Credit Agreements With Cargill Financial | Loans Payable                  
Debt Instrument [Line Items]                  
Debt face amount                 $ 200,000,000
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) Overnight Index Swap Rate                  
Debt Instrument [Line Items]                  
Debt basis spread on variable rate 7.50%                
Senior Facility | Loans Payable | Maximum | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate                  
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%   12.50% 12.50%          
Senior Credit Agreement | Loans Payable                  
Debt Instrument [Line Items]                  
Debt covenant, minimum liquidity amount               $ 30,000,000  
Debt instrument, increase of interest rate               2.00%  
Unused capacity, commitment fee percentage       1.25%          
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              
Debt instrument, increase of interest rate   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 $ 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 | qtr             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