Debt (Details) - USD ($) |
1 Months Ended | 12 Months Ended | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
May 14, 2021 |
May 04, 2020 |
Sep. 15, 2017 |
Dec. 15, 2016 |
Sep. 15, 2017 |
Dec. 31, 2021 |
Sep. 30, 2021 |
Jun. 30, 2021 |
Jun. 26, 2017 |
Dec. 12, 2016 |
|
Debt (Details) [Line Items] | ||||||||||
Principal amount | $ 6,000,000 | $ 3,900,000 | ||||||||
Income from loan forgiveness | $ 9,900,000 | |||||||||
Madera [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Principal amount | $ 19,300,000 | |||||||||
Aggregate of debt amount | $ 700,000 | |||||||||
Kinergy Line of Credit [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Description of interest rate | 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.75% and 2.25%. The applicable margin was 2.00%, for a total rate of 2.05% at December 31, 2021. 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 Line of Credit [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Borrowing on credit facility | $ 25,400,000 | |||||||||
Pekin Credit Facilities [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Maturity date | Aug. 20, 2021 | |||||||||
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 | |||||||||
Kinergy Line of Credit [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Aggregate amount | $ 100,000,000 | |||||||||
Maturity date | Aug. 02, 2023 | |||||||||
Revolving Term Loan Facility [Member] | Pekin Credit Facilities [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Maturity date | Feb. 01, 2022 | |||||||||
Term loan facility | $ 32,000,000 | |||||||||
ICP Credit Facilities [Member] | Credit Agreement [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Maturity date | Sep. 20, 2021 | |||||||||
Principal amount | $ 24,000,000 | $ 24,000,000 | ||||||||
ICP Credit Facilities [Member] | Revolving Term Loan Facility [Member] | Credit Agreement [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Maturity date | Sep. 01, 2022 | |||||||||
Principal amount | $ 18,000,000 | $ 18,000,000 | ||||||||
Senior Secured Notes [Member] | Note Purchase Agreement [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Principal amount | $ 55,000,000 | |||||||||
Gross proceeds from principal amount percentage | 97.00% | |||||||||
Senior Secured Notes [Member] | Second Note Purchase Agreement [Member] | ||||||||||
Debt (Details) [Line Items] | ||||||||||
Principal amount | $ 13,900,000 | |||||||||
Gross proceeds from principal amount percentage | 97.00% |