Annual report pursuant to Section 13 and 15(d)

Subsequent Events (Details)

v3.23.1
Subsequent Events (Details)
Mar. 28, 2023
USD ($)
facility
$ / shares
shares
Mar. 13, 2023
USD ($)
Jan. 06, 2023
USD ($)
Dec. 31, 2022
shares
Apr. 04, 2022
USD ($)
Nov. 19, 2021
$ / shares
shares
Subsequent Event [Line Items]            
Warrants outstanding (in shares) | shares       10,833,296   10,833,333
Warrant price (in dollars per share) | $ / shares           $ 11.50
First Amendment of the Credit Agreements | Loans Payable            
Subsequent Event [Line Items]            
Debt covenant, minimum liquidity amount         $ 20,000,000  
Aggregate amount of outstanding loans and undrawn commitments         $ 170,000,000  
Subsequent Event            
Subsequent Event [Line Items]            
Sale-leaseback transaction, amount $ 35,000,000          
Sale-leaseback transaction, number of facilities | facility 2          
Subsequent Event | Fourth Amendment of the Credit Agreements | Loans Payable            
Subsequent Event [Line Items]            
Debt covenant, minimum liquidity amount     $ 11,000,000      
Debt covenant, minimum liquidity amount following a qualified offtake arrangement     $ 10,000,000      
Subsequent Event | Fifth Amendment of the Credit Agreements | Loans Payable            
Subsequent Event [Line Items]            
Debt covenant, minimum liquidity amount   $ 1,000,000        
Debt covenant, debt service reserve account requirement   11,000,000        
Aggregate amount of outstanding loans and undrawn commitments   $ 170,000,000        
Subsequent Event | March 28, 2023 Amendment To Credit Agreement | Loans Payable            
Subsequent Event [Line Items]            
Aggregate amount of outstanding loans and undrawn commitments $ 280,000,000          
Warrants outstanding (in shares) | shares 69,600,000          
Warrants term 5 years          
Warrant price (in dollars per share) | $ / shares $ 1