XML 60 R46.htm IDEA: XBRL DOCUMENT
v3.22.4

Note 4 - Debt (Details Textual) - USD ($) |  |  |  |  |  |  |  |  | 3 Months Ended | 12 Months Ended | 17 Months Ended |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 01, 2023 | Jul. 01, 2022 | Mar. 02, 2022 | Jan. 01, 2022 | Feb. 27, 2019 | Jul. 10, 2017 | Jul. 06, 2012 | Mar. 04, 2011 | Mar. 31, 2020 | Sep. 30, 2019 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2022 | Mar. 06, 2023 | Oct. 04, 2022 | Aug. 08, 2022 | Aug. 01, 2022 | Jul. 26, 2022 | May 11, 2022 | Mar. 08, 2022 | Nov. 05, 2021 | Aug. 09, 2021 | Mar. 14, 2021 | Dec. 31, 2020 | May 01, 2020 | Mar. 06, 2020 | Nov. 21, 2019 | Jul. 15, 2017 | Jan. 09, 2012 | Jan. 06, 2012 | Nov. 30, 2008
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | $ 246,240,000 |  | $ 246,240,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  |  |  |  |  |  |  |  |  |  | $ 15.92 | $ 2.59 | $ 15.92 |  |  |  |  |  |  |  |  |  |  | $ 2.59 |  |  |  |  |  |  |
Warrants and Rights Outstanding, Term (Year) |  |  |  |  |  |  |  |  |  |  | 7 years 5 months 23 days | 3 years 11 months 12 days | 7 years 5 months 23 days |  |  |  |  |  |  |  |  |  |  | 4 years 11 months 12 days |  |  |  |  |  |  |
Short-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | $ 36,754,000 | $ 14,586,000 | $ 36,754,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount, Total |  |  |  |  |  |  |  |  |  |  | 246,240,000 | 188,767,000 | 246,240,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Other Long-Term Debt, Noncurrent |  |  |  |  |  |  |  |  |  |  | $ 11,678,000 | 12,038,000 | $ 11,678,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock Issued Under Fuels Revolving Line [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock Issued During Period, Shares, New Issues (in shares) |  |  | 100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Five Year Warrants in Connection With New Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  |  |  |  |  |  |  |  |  |  | $ 10.20 |  | $ 10.20 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants and Rights Outstanding, Term (Year) |  |  |  |  |  |  |  |  |  |  | 5 years |  | 5 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ten Year Warrants in Connection With New Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  |  |  |  |  |  |  |  |  |  | $ 20.00 |  | $ 20.00 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants and Rights Outstanding, Term (Year) |  |  |  |  |  |  |  |  |  |  | 10 years |  | 10 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Five Year Warrants in Connection With New Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) |  |  | 50,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  |  | $ 10.20 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Ten Year Warrants in Connection With New Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) |  |  | 250,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  |  | $ 20.00 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
AAFK [Member] | Warrants in Connection With Subordinated Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  | $ 0.01 |  | $ 0.01 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.01 |  |
Warrants and Rights Outstanding, Term (Year) |  | 2 years |  | 2 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2 years |  |
Class of Warrant or Right, Issued (in shares) |  | 113,000 |  | 113,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Member] | AAFK [Member] | Warrants in Connection With Subordinated Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ 0.01 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Issued (in shares) | 113,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repayments of Long-Term Lines of Credit |  |  | $ 16,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Property Taxes Payment |  |  | 6,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  | $ 10,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility [Member] | Prime Rate [Member] | GAFI [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  | 7.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility [Member] | Prime Rate [Member] | GAFI [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  | 12.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Capital Revolving Credit Facility Fuels And Carbon Lines [Member] | GAFI and ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  | 100,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fuels Revolving Line [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  | 50,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  | $ 50,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Payments of Financing Costs, Total |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Mr. McAfee [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net Amount at Risk by Product and Guarantee, Net Amount at Risk |  |  |  |  |  |  |  |  |  |  | $ 8,000,000.0 |  | $ 8,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  | $ 18,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Revolving Credit Facility [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 61,600,000 |  | 61,600,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net, Total |  |  |  |  |  |  |  |  |  |  | $ 1,000,000.0 |  | $ 1,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Revolving Credit Facility [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 21.25% |  | 21.25% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  | 13.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Acquisition Term Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  | $ 15,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Reserve Liquidity Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 30.00% |  | 30.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  |  |  |  |  |  |  |  |  | $ 50,000,000.0 |  | $ 50,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | $ 0 |  | $ 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term Loan [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  | $ 15,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  | 10.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term Loan [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  | 7,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revenue Participation Term Notes [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  | $ 10,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 5.00% |  | 5.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revenue Participation Term Notes [Member] | Third Eye Capital [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | $ 12,000,000.0 |  | $ 12,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net, Total |  |  |  |  |  |  |  |  |  |  | $ 69,000 |  | $ 69,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-term Credit Facility for Working Capital [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from Lines of Credit, Total |  |  |  |  | $ 2,100,000 |  |  |  | $ 600,000 | $ 700,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 14.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment No. 19 [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |
Debt Instrument, Extension Fee, Percent of Note Indebtedness |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.00% |  |  |  |  |  |  |  |
Amendment No. 20 [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 300,000 |  |  |  |  |  |  |  |  |
Debt Instrument, Extension Fee, Percent of Note Indebtedness |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.00% |  |  |  |  |  |  |  |  |
Debt Instrument, Restrictive Covenants |  |  |  |  |  |  |  |  |  |  |  |  | $100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment No. 21 [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |
Amendment No. 22 [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |  |
Amendment No. 22 [Member] | Third Eye Capital [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment No. 23 [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |  |  |
Amendment No. 24 [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 300,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Extension Fee, Percent of Note Indebtedness |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment No. 25 [Member] | Third Eye Capital [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  | 100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Reserve Liquidity Facility [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 18,000,000 |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 70,000,000.0 |  |  |  |  |  |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 40,000,000.0 |  |  |  |  |  |  |  |  |
Debt Instrument, Non-refundable Standby Fee, Percent of Difference Between Principal Amount and the Commitment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% |  |  |  |  |
Non Refundable Fees |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |  |  |  |  |
Reserve Liquidity Facility [Member] | Third Eye Capital [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 50,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Reserve Liquidity Facility Paid Monthly in Arrears [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30.00% |  |  |  |  |
Reserve Liquidity Facility Paid Monthly in Arrears [Member] | Third Eye Capital [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  | 30.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Reserve Liquidity Facility if Event of Default Occurred and Continues [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 40.00% |  |  |  |  |
Reserve Liquidity Facility if Event of Default Occurred and Continues [Member] | Third Eye Capital [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  | 40.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term Notes [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 14.00% |  | 14.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | $ 7,200,000 |  | $ 7,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net, Total |  |  |  |  |  |  |  |  |  |  | 27,000 |  | 27,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Acquisition Term Notes [Member] | Third Eye Capital [Member] | Aemetis Facility Keyes, Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 26,700,000 |  | 26,700,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net, Total |  |  |  |  |  |  |  |  |  |  | 144,000 |  | 144,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Redemption Fee |  |  |  |  |  |  |  |  |  |  | $ 7,500,000 |  | $ 7,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Acquisition Term Notes [Member] | Third Eye Capital [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  | 10.75% |  |  |  | 18.25% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term Notes, Revolving Credit Facility and Acquisition Term Notes [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee, Percent of Carrying Value of Debt |  |  |  |  |  |  |  |  |  |  | 1.00% |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee, Amount Allowed to be Paid in Cash, Percent |  |  |  |  |  |  |  |  |  |  | 50.00% |  | 50.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee, Amount Allowed to be Added to Debt Outstanding, Percent |  |  |  |  |  |  |  |  |  |  | 50.00% |  | 50.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term Loan and Revolving Loan [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  | $ 500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fuels Revolving Line [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 10.00% |  |  |  |  |  |  |  | 13.50% |  | 13.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fuels Revolving Line [Member] | Prime Rate [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 6.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | $ 28,900,000 |  | $ 28,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net, Total |  |  |  |  |  |  |  |  |  |  | $ 1,500,000 |  | $ 1,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 8.00% |  |  |  |  |  |  |  | 11.50% |  | 11.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | $ 25,100,000 |  | $ 25,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net, Total |  |  |  |  |  |  |  |  |  |  | 2,400,000 |  | 2,400,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | Prime Rate [Member] | ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 4.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cilion Shareholder Seller Notes Payable [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  | 3.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount, Total |  |  |  |  |  |  |  |  |  |  | 6,821,000 | 6,619,000 | 6,821,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cilion Shareholder Seller Notes Payable [Member] | Aemetis Facility Keyes, Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 6,800,000 |  | 6,800,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 2,500,000 | $ 900,000 |
Debt Instrument Fee Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00% |  |
Debt Extension Fee, Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00% |  |
Short-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 15,900,000 | 14,300,000 | 15,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes 1 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount, Total |  |  |  |  |  |  |  |  |  |  | 15,931,000 | 14,304,000 | 15,931,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes 1 [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  | $ 90,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Cash Extension Fee |  |  |  | $ 90,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes 1 [Member] | Subsequent Event [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Cash Extension Fee | $ 90,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes 2 [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  | $ 250,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Cash Extension Fee |  |  |  | $ 250,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes 2 [Member] | Subsequent Event [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Cash Extension Fee | $ 250,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
EB5 Phase I Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  | $ 500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 37,200,000 |  | 37,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Term (Year) |  |  |  |  |  |  |  | 4 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Convertible, Conversion Price (in dollars per share) |  |  |  |  | $ 30 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Amount Released From Escrow |  |  |  |  |  |  |  |  |  |  | 35,500,000 |  | 35,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Amount Remaining Funded to Escrow |  |  |  |  |  |  |  |  |  |  | 500,000 |  | 500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repayments of Debt |  |  |  |  |  |  |  |  |  |  | 0 | 3,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
EB5 Phase I Notes [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Investment Raised Per Investor |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |  |  |  |  |  |
EB5 Phase I Funding [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  | $ 36,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
EB5 Phase I Funding [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  | $ 36,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
EB5 Phase II Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3.00% |  |  |  |
Debt Instrument, Amount Remaining Funded to Escrow |  |  |  |  |  |  |  |  |  |  | 46,800,000 |  | 46,800,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Principal Amount Sold |  |  |  |  |  |  |  |  |  |  | 4,000,000.0 |  | 4,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount, Total |  |  |  |  |  |  |  |  |  |  | 4,200,000 |  | 4,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
EB5 Phase II Notes [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Minimum Investment Raised Per Investor |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |  |  |  |
EB5 Phase II Notes [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Minimum Investment Raised Per Investor |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 900,000 |  |  |  |
Debt Instrument, Investment Raised Per Investor |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 900,000 |  |  |  |  |  |
Aggregate Principal Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 50,800,000 |  |  |  |  |  |
Secunderabad Oils [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 18.00% |  |  |  |  |  |  |  |  |  | 14.75% |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 0 | 0 | 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
First Priority Lien on Assets in Return, Percentage of Monthly Net Operating Profit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30.00%
Debt Instrument, Fair Value Disclosure, Total |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 2,300,000 |  |  |
Debt Agreement, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,880,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Leo Edibles & Fats Limited [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Agreement, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,270,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5.95% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 20,200,000 |  | 20,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net, Total |  |  |  |  |  |  |  |  |  |  | 300,000 |  | 300,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount, Total |  |  |  |  |  |  |  |  |  |  | 19,820,000 | $ 0 | 19,820,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Agreement, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 25,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Usda Annual Renewal Fee |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.25% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Financing Agreement For Capital Expenditures [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  |  |  | 5,700,000 |  | 5,700,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt, Total |  |  |  |  |  |  |  |  |  |  | 1,000,000.0 |  | 1,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Other Long-Term Debt, Noncurrent |  |  |  |  |  |  |  |  |  |  | $ 4,800,000 |  | $ 4,800,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Represents aggregate principal amount. + References No definition available. + Details
Name: | amtx_AggregatePrincipalAmount
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of warrants or rights issued during a period of time. + References No definition available. + Details
Name: | amtx_ClassOfWarrantOrRightIssued
Namespace Prefix: | amtx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents maximum borrowing capacity under debt agreement. + References No definition available. + Details
Name: | amtx_DebtAgreementMaximumBorrowingCapacity
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The percentage of debt extension fee. + References No definition available. + Details
Name: | amtx_DebtExtensionFeePercentage
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents amount released from Escrow under debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentAmountReleasedFromEscrow
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents amount remaining funded to escrow under debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentAmountRemainingFundedToEscrow
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of the cash extension fee that accompanies borrowing money under the debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentCashExtensionFee
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents extended fee rate added to balance outstanding under debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentExtendedFeeRateAddedToBalanceOutstanding
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of extension fee of debt instrument as percentage of note indebtedness. + References No definition available. + Details
Name: | amtx_DebtInstrumentExtensionFeePercentOfNoteIndebtedness
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of fee allowed to be added to outstanding of debt under debt instrument as a percentage. + References No definition available. + Details
Name: | amtx_DebtInstrumentFeeAmountAllowedToBeAddedToDebtOutstandingPercent
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of fee allowed to be paid in cash under debt instrument ad a percentage. + References No definition available. + Details
Name: | amtx_DebtInstrumentFeeAmountAllowedToBePaidInCashPercent
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of fee of debt instrument as a percentage of carrying value of debt. + References No definition available. + Details
Name: | amtx_DebtInstrumentFeePercentOfCarryingValueOfDebt
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents investment raised per investor under debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentInvestmentRaisedPerInvestor
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum Amount of investment raised per investor under debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentMinimumInvestmentRaisedPerInvestor
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents non-refundable one-time Fees of debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentNonRefundableOneTimeFees
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents non-refundable standby fee of debt instrument as a percentage of difference between principal amount outstanding and the commitment. + References No definition available. + Details
Name: | amtx_DebtInstrumentNonrefundableStandbyFeePercentOfDifferenceBetweenPrincipalAmountAndTheCommitment
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of principal amount that has been sold under debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentPrincipalAmountSold
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents redemption fee under debt instrument agreement. + References No definition available. + Details
Name: | amtx_DebtInstrumentRedemptionFee
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of first priority lien on assets in return as a percentage of monthly net operating profit. + References No definition available. + Details
Name: | amtx_FirstPriorityLienOnAssetsInReturnPercentageOfMonthlyNetOperatingProfit
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents property taxes payment. + References No definition available. + Details
Name: | amtx_PaymentOfPropertyTaxes
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the USDA annual renewal fee. + References No definition available. + Details
Name: | amtx_UsdaAnnualRenewalFee
Namespace Prefix: | amtx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of covenants that limit or prohibit certain actions or activities without the lender's prior consent within a specified period of time or until certain specified targets are achieved for example, reduction of the debt or an increase in net worth to a specified amount). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(e)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRestrictiveCovenants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the aggregate of total long-term debt, including current maturities and short-term debt. + References No definition available. + Details
Name: | us-gaap_DebtLongtermAndShorttermCombinedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Net amount at risk, representing the guaranteed benefit in excess of the current account balance corresponding to the specified product, guarantee type and subset of the guarantee. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 80 -Section 50 -Paragraph 1 -Subparagraph (d)(3),(5) -URI https://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 20 -Section 55 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=124504833&loc=d3e7104-158389 + Details
Name: | us-gaap_NetAmountAtRiskByProductAndGuaranteeNetAmountAtRisk
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt classified as other, payable after one year or the operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherLongTermDebtNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow for loan and debt issuance costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfFinancingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_ProceedsFromLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(a)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(1)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_ShortTermBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=amtx_StockIssuedUnderFuelsRevolvingLineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=amtx_FiveYearWarrantsInConnectionWithNewCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=amtx_TenYearWarrantsInConnectionWithNewCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=amtx_ThirdEyeCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=amtx_AafkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=amtx_WarrantsInConnectionWithSubordinatedNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=amtx_GafiMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=amtx_CapitalRevolvingCreditFacilityFuelsAndCarbonLinesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=amtx_GafiAndAcciMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=amtx_FuelsRevolvingLineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=amtx_CarbonRevolvingLineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=amtx_AcciMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=amtx_ThirdEyeCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=amtx_MrMcafeeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=amtx_AcquisitionTermNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=amtx_ReserveLiquidityFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_RevenueParticipationTermNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_ShorttermCreditFacilityForWorkingCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AmendmentNo19Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AmendmentNo20Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AmendmentNo21Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AmendmentNo22Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AmendmentNo23Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AmendmentNo24Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AmendmentNo25Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_ReserveLiquidityFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_ReserveLiquidityFacilityPaidMonthlyInArrearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_ReserveLiquidityFacilityIfEventOfDefaultOccurredAndContinuesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_TermNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_AcquisitionTermNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=amtx_AemetisFacilityKeyesIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_TermNotesRevolvingCreditFacilityAndAcquisitionTermNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_TermLoanAndRevolvingLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_FuelsRevolvingLineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_CarbonRevolvingLineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_CilionShareholderSellerNotesPayableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_SubordinatedNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_SubordinatedNotes1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_SubordinatedNotes2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_EB5PhaseINotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_Eb5PhaseIFundingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_EB5PhaseIINotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_SecunderabadOilsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_LeoEdiblesFatsLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_ConstructionLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_FinancingAgreementForCapitalExpendituresMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |