Annual report pursuant to Section 13 and 15(d)

Debt (Details)

v3.24.0.1
Debt (Details) - USD ($)
4 Months Ended 12 Months Ended
Nov. 23, 2022
Nov. 07, 2022
Dec. 31, 2023
Dec. 31, 2023
Dec. 31, 2021
Dec. 31, 2022
Sep. 30, 2021
Jun. 30, 2021
May 04, 2020
Debt [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.25%, for a total rate of 6.74%, at December 31, 2023. 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. Kinergy and Alto Nutrients may also make distributions to the Company of up to 75% of their excess cash flow.          
Operating line of credit     $ 100,000,000 $ 100,000,000          
Line of credit matures       Nov. 07, 2027          
Excess percentage       75.00%          
Unused borrowing     $ 33,300,000 $ 33,300,000          
Senior secured credit amount   $ 125,000,000              
Lenders company advances       100,000,000          
Additional fees       $ 25,000,000          
Lenders stock share issued (in Shares)     1,282,051 1,282,051          
Additional lenders stock share issued (in Shares)     320,513 320,513          
Initial funding $ 60,000,000                
Issuance of shares (in Shares) 1,282,051                
Outstanding amount     $ 60,000,000 $ 60,000,000   $ 60,000,000      
Loan proceeds       $ 3,912,000          
Percentage of fixed rate     10.00% 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 ended 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             $ 6,000,000 $ 3,900,000  
Income from loan forgiveness         $ 9,900,000        
Minimum [Member]                  
Debt [Line Items]                  
Applicable ranging percentage       1.25%          
Applicable margin percentage       1.25%          
Unused line fee percentage       0.25%          
Maximum [Member]                  
Debt [Line Items]                  
Applicable ranging percentage       1.75%          
Applicable margin percentage       6.74%          
Unused line fee percentage       0.375%          
Alto Ingredients [Member]                  
Debt [Line Items]                  
Loan proceeds                 $ 6,000,000
Alto Pekin [Member]                  
Debt [Line Items]                  
Loan proceeds                 $ 3,900,000
Kinergy [Member]                  
Debt [Line Items]                  
Credit facility     $ 1,500,000            
Alto Nutrients [Member]                  
Debt [Line Items]                  
Credit facility     $ 500,000