Annual report pursuant to Section 13 and 15(d)

Debt (Details)

v3.22.4
Debt (Details) - USD ($)
1 Months Ended 12 Months Ended
Nov. 07, 2022
May 14, 2021
Dec. 15, 2016
Nov. 23, 2022
Dec. 31, 2022
Sep. 30, 2022
Sep. 01, 2022
Jun. 30, 2022
Dec. 31, 2021
May 04, 2020
Jun. 26, 2017
Dec. 12, 2016
Debt (Details) [Line Items]                        
Unused borrowing         $ 57,900,000              
Senior secured credit amount $ 125,000,000                      
Lenders company advance         100,000,000              
Additional fees         $ 25,000,000              
Aggregate shares (in Shares)         1,282,051              
Founder shares (in Shares)         320,513              
Payments to fund policy loans       $ 60,000,000                
Common stock shares issued (in Shares)       1,282,051 75,154,495       72,777,694      
Outstanding amount       $ 60,000,000                
Loan proceeds         $ 3,912,000              
Term Loan fixed rate         10.00%              
Specified leverage         The Company must prepay amounts outstanding under the Term Loan on a semi-annual basis beginning with the six-month period ending December 31, 2023 in an amount equal to a percentage of the Company’s excess cash flow based on a specified leverage ratio, as follows: (i) if the leverage ratio is greater than or equal to 3.0x, then the mandatory prepayment amount will equal 100% of the Company’s excess cash flow, (ii) if the leverage ratio is less than 3.0x and greater than or equal to 1.5x, then the mandatory prepayment amount will equal 50% of the Company’s excess cash flow and (iii) if the leverage ratio is less than 1.5x, then the mandatory prepayment amount will equal 25% of the Company’s excess cash flow.               
Principal amount   $ 19,300,000       $ 6,000,000   $ 3,900,000        
Aggregate of debt amount   $ 700,000                    
Income from loan forgiveness         $ 9,900,000              
Pekin Credit Facilities [Member]                        
Debt (Details) [Line Items]                        
Principal amount     $ 64,000,000                  
Alto Ingredients, Inc [Member]                        
Debt (Details) [Line Items]                        
Proceed of loan                   $ 6,000,000    
Alto Pekin Inc.[Member]                        
Debt (Details) [Line Items]                        
Proceed of loan                   $ 3,900,000    
Second Note Purchase Agreement [Member] | Senior Secured Notes [Member]                        
Debt (Details) [Line Items]                        
Principal amount                     $ 13,900,000  
Gross proceeds from principal amount percentage                     97.00%  
ICP Credit Facilities [Member]                        
Debt (Details) [Line Items]                        
Principal amount     $ 24,000,000                  
Senior Secured Notes [Member] | Purchase Agreement [Member]                        
Debt (Details) [Line Items]                        
Principal amount                       $ 55,000,000
Gross proceeds from principal amount percentage                       97.00%
Kinergy Line of Credit [Member]                        
Debt (Details) [Line Items]                        
Description of interest rate         Kinergy has an operating line of credit for an aggregate amount of up to $100,000,000. The line of credit matures on November 7, 2027. The credit facility is based on Kinergy’s eligible accounts receivable and inventory levels, subject to certain concentration reserves. The credit facility is subject to certain other sublimits, including inventory loan limits. Interest accrues under the line of credit at a rate equal to (i) the daily Secured Overnight Financing Rate, plus (ii) a specified applicable margin ranging between 1.25% and 1.75%. The applicable margin was 1.50%, for a total rate of 5.90% at December 31, 2022. The credit facility’s monthly unused line fee is an annual rate equal to 0.25% to 0.375% depending on the average daily principal balance during the immediately preceding month. Payments that may be made by Kinergy to the Company as reimbursement for management and other services provided by the Company to Kinergy are limited under the terms of the credit facility to $1,500,000 per fiscal quarter. The credit facility also includes the accounts receivable of Alto Nutrients as additional collateral. Payments that may be made by Alto Nutrients to the Company as reimbursement for management and other services provided by the Company to Alto Nutrients are limited under the terms of the credit facility to $500,000 per fiscal quarter.              
Maturity date         Nov. 07, 2027              
Credit facility description On November 7, 2022, Kinergy and Alto Nutrients entered into an Amendment No. 6 to its credit facility. Under the Amendment, the parties agreed, among other things, to extend the maturity date of the loans under the credit facility from 2023 to 2027. The parties also agreed to amend the fixed-charge coverage ratio from not less than 2.00 to 1.00 to not less than 1.10 to 1.00 and amended the amount of cash distributions that Kinergy or Alto Nutrients could make to the Company from up to 50% of excess cash flow to up to 75% of excess cash flow.                       
Kinergy Line of Credit [Member] | ICP Credit Facilities [Member]                        
Debt (Details) [Line Items]                        
Principal amount             $ 18,000,000          
Revolving Credit Facility [Member] | Pekin Credit Facilities [Member]                        
Debt (Details) [Line Items]                        
Credit facility description     $32.0