Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.23.3
Debt - Narrative (Details)
$ / shares in Units, shares in Millions
6 Months Ended 9 Months Ended
Mar. 13, 2023
USD ($)
quarter
Sep. 30, 2023
USD ($)
Sep. 30, 2023
USD ($)
Jun. 04, 2023
$ / shares
Mar. 28, 2023
USD ($)
quarter
$ / shares
shares
Jan. 06, 2023
USD ($)
Jan. 05, 2023
USD ($)
Dec. 31, 2022
USD ($)
Debt Instrument [Line Items]                
Warrant exercise price (in dollars per share) | $ / shares       $ 149.50        
Warrant liability   $ 8,780,000 $ 8,780,000         $ 0
March 2023 Cargill Warrant                
Debt Instrument [Line Items]                
Warrant liability   $ 25,700,000 $ 25,700,000          
Loans Payable | First Amendment of the Credit Agreements                
Debt Instrument [Line Items]                
Debt covenant, minimum liquidity amount             $ 20,000,000  
Loans Payable | Fourth Amendment of the Credit Agreements                
Debt Instrument [Line Items]                
Debt covenant, minimum liquidity amount           $ 11,000,000    
Loans Payable | Fifth Amendment of the Credit Agreements                
Debt Instrument [Line Items]                
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              
Debt, face amount $ 170,000,000              
Loans Payable | Sixth Amendment To Original Credit Agreement                
Debt Instrument [Line Items]                
Debt covenant, debt service reserve account requirement         $ 0      
Debt, face amount         280,000,000      
Debt covenant, payment in kind of quarterly interest payment due and payable         $ 5,000,000      
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      
Loans Payable | Sixth Amendment To Original Credit Agreement | March 2023 Cargill Warrant                
Debt Instrument [Line Items]                
Warrants outstanding (in shares) | shares         5.4      
Warrant exercise price (in dollars per share) | $ / shares         $ 13.00      
Warrants term         5 years      
Loans Payable | Subordinated Facility                
Debt Instrument [Line Items]                
Debt effective interest rate   12.50% 12.50%          
Loans Payable | Senior Facility                
Debt Instrument [Line Items]                
Debt instrument, amortization period     10 years          
Loans Payable | Senior Facility | Minimum | Secured Overnight Financing Rate (SOFR)                
Debt Instrument [Line Items]                
Debt basis spread on variable rate   7.50%            
Loans Payable | Senior Facility | Maximum | Secured Overnight Financing Rate (SOFR)                
Debt Instrument [Line Items]                
Debt basis spread on variable rate   8.50%