Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.23.1
Debt - Narrative (Details)
$ / shares in Units, shares in Millions
3 Months Ended
Mar. 31, 2023
USD ($)
Mar. 31, 2023
USD ($)
Mar. 28, 2023
USD ($)
qtr
$ / shares
shares
Mar. 13, 2023
USD ($)
Jan. 06, 2023
USD ($)
Dec. 31, 2022
USD ($)
Apr. 04, 2022
USD ($)
Debt Instrument [Line Items]              
Warrant liability $ 25,697,000 $ 25,697,000       $ 0  
March 2023 Cargill Warrant | Measurement Input, Exercise Price              
Debt Instrument [Line Items]              
Warrants, measurement input 1.00 1.00          
March 2023 Cargill Warrant | Measurement Input, Share Price              
Debt Instrument [Line Items]              
Warrants, measurement input 0.45 0.45          
March 2023 Cargill Warrant | Measurement Input, Expected Term              
Debt Instrument [Line Items]              
Warrants, measurement input 5 5          
March 2023 Cargill Warrant | Measurement Input, Volatility              
Debt Instrument [Line Items]              
Warrants, measurement input 1.35 1.35          
March 2023 Cargill Warrant | Measurement Input, Risk Free Rate              
Debt Instrument [Line Items]              
Warrants, measurement input 0.0363 0.0363          
March 2023 Cargill Warrant | Measurement Input, Dividend Yield              
Debt Instrument [Line Items]              
Warrants, measurement input 0 0          
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, 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, debt service reserve account requirement, number of quarters of scheduled interest payments | qtr     2        
Debt covenant, debt service reserve account requirement, number of quarters of scheduled amortization payments | qtr     2        
Loans Payable | Sixth Amendment To Original Credit Agreement | March 2023 Cargill Warrant              
Debt Instrument [Line Items]              
Warrants outstanding (in shares) | shares     69.6        
Warrant price (in dollars per share) | $ / shares     $ 1.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%