XML 52 R41.htm IDEA: XBRL DOCUMENT
v3.23.1

Note 4 - Debt (Details Textual) $ / shares in Units, GT in Millions |  |  |  |  | 3 Months Ended |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 01, 2023 USD ($) $ / shares shares | Mar. 02, 2022 USD ($) $ / shares shares | Jul. 06, 2012 USD ($) | Mar. 04, 2011 USD ($) | Mar. 31, 2023 USD ($) $ / shares | May 04, 2023 USD ($) GT | Mar. 06, 2023 USD ($) | Mar. 04, 2023 USD ($) | Dec. 31, 2022 USD ($) $ / shares | Oct. 04, 2022 USD ($) | Aug. 08, 2022 USD ($) | Aug. 01, 2022 USD ($) | Jul. 26, 2022 USD ($) | May 11, 2022 USD ($) | Mar. 08, 2022 USD ($) | Aug. 09, 2021 USD ($) | Mar. 14, 2021 USD ($) | May 01, 2020 USD ($) | Mar. 06, 2020 USD ($) | Nov. 21, 2019 USD ($) | Feb. 27, 2019 $ / shares | Jan. 09, 2012 USD ($) $ / shares | Jan. 06, 2012 USD ($)
Long-Term Debt, Total |  |  |  |  | $ 261,935,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares |  |  |  |  | $ 15.92 |  |  |  | $ 15.92 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | $ 45,282,000 |  |  |  | $ 36,754,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Current Maturities |  |  |  |  | $ 17,419,000 |  |  |  | $ 12,465,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants and Rights Outstanding, Term (Year) |  |  |  |  | 7 years 2 months 26 days |  |  |  | 7 years 5 months 23 days |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  | $ 261,935,000 |  |  |  | $ 246,240,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Other Long-Term Debt, Noncurrent |  |  |  |  | 11,479,000 |  |  |  | 11,678,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock Issued Under Fuels Revolving Line [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock Issued During Period, Shares, New Issues (in shares) | shares |  | 100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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) | shares |  | 50,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares |  | $ 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) | shares |  | 250,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | $ / shares |  | $ 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) | $ / shares | $ 0.01 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.01 |
Warrants and Rights Outstanding, Term (Year) | 2 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2 years |
Class of Warrant or Right, Issued (in shares) | shares | 113,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repayments of Long-Term Lines of Credit |  | $ 16,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Property Taxes Payment |  | 6,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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] | Mr. McAfee [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net Amount at Risk by Product and Guarantee, Net Amount at Risk |  |  |  |  | 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 |  |  |  |  | 67,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  | $ 1,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Revolving Credit Facility [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 21.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  |  |  | $ 50,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  | $ 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revenue Participation Term Notes [Member] | Third Eye Capital [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  | $ 12,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  | $ 160,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment No. 22 [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,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] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment No. 26 [Member] | Third Eye Capital [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Minimum Production Requirement (Gigaton) | GT |  |  |  |  |  | 10 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |
Debt Instrument, Non-refundable Standby Fee, Percent of Difference Between Principal Amount and the Commitment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% |  |  |  |
Non Refundable Fees |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |  |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  |  |  |  |  | $ 50,000,000 |  |  |  |  |  |  |  |  | $ 40,000,000.0 |  |  |  |  |  |  |
Reserve Liquidity Facility Paid Monthly in Arrears [Member] | Third Eye Capital [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% |  |  |  |
Term Notes [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 14.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  | $ 7,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  | 70,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Acquisition Term Notes [Member] | Third Eye Capital [Member] | Aemetis Facility Keyes, Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  | 26,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  | 300,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Redemption Fee |  |  |  |  | $ 7,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Acquisition Term Notes [Member] | Third Eye Capital [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 10.75% |  | 18.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fuels Revolving Line [Member] | GAFI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  | 10.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  | $ 26,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  | 1,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | 4,800,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  | 8.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  |  |  | 1,400,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  | 24,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  | 2,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | 500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | Prime Rate [Member] | ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 4.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | Third Eye Capital [Member] | ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Current Maturities |  |  |  |  | 6,700,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cilion Shareholder Seller Notes Payable [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 3.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  | 6,871,000 |  |  |  | 6,821,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cilion Shareholder Seller Notes Payable [Member] | Aemetis Facility Keyes, Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  | 6,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 2,500,000 | $ 900,000
Short-Term Debt |  |  |  |  | 16,100,000 |  |  |  | 15,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument Fee Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00% |
Debt Extension Fee, Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00% |
Subordinated Notes 1 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  | 16,106,000 |  |  |  | 15,931,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes 1 [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Cash Extension Fee | $ 90,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subordinated Notes 2 [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,400,000 |  |  |  | 37,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Term (Year) |  |  |  | 4 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Convertible, Conversion Price (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 30 |  |
Debt Instrument, Amount Released From Escrow |  |  |  |  |  |  |  |  | 35,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Amount Remaining Funded to Escrow |  |  |  |  |  |  |  |  | 500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Principal Amount Sold |  |  |  |  | 4,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  | 4,200,000 |  |  |  | 4,200,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 |  |  |  |  |
EB5 Phase II Notes [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Minimum Investment Raised Per Investor |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |  |  |
Secunderabad Oils [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  | 18.00% |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | 2,700,000 |  |  |  | 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Agreement, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,880,000 |  |  |  |  |  |  |  |  |  |
Leo Edibles & Fats Limited [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Agreement, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  | $ 1,270,000 |  |  |  |  |  |  |  |  |  |  |
IndusInd Bank and HDFC Bank Secured Loans [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | $ 3,535,000 |  |  |  | 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |
IndusInd Bank and HDFC Bank Secured Loans [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 8.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IndusInd Bank and HDFC Bank Secured Loans [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 6.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Construction Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  | 9.00% |  | 5.95% |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Total |  |  |  |  | $ 21,700,000 |  |  |  | 20,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  | 0 |  |  | $ 9,000 | 300,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | 21,728,000 |  |  |  | $ 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 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | 1,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Other Long-Term Debt, Noncurrent |  |  |  |  | $ 4,600,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 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 minimum production requirement for debt instrument. + References No definition available. + Details
Name: | amtx_DebtInstrumentMinimumProductionRequirement
Namespace Prefix: | amtx_
Data Type: | dtr-types:massItemType
Balance Type: | na
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 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 -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 + 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 -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 + 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://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-5 + 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 -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-2 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482949/835-30-55-8 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LongTermDebtCurrent
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/otherTransitionRef -Topic 944 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479808/944-20-55-15 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 944 -SubTopic 80 -Section 50 -Paragraph 1 -Subparagraph (d)(3),(5) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480109/944-80-50-1 + 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://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(13)(a)(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 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 -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-15 + 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 -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481004/946-505-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + 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: | srt_CounterpartyNameAxis=amtx_ThirdEyeCapitalMember
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_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_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
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: | srt_ConsolidatedEntitiesAxis=amtx_GafiMember
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_VariableRateAxis=us-gaap_PrimeRateMember
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_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_AmendmentNo26Member
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_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_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: | srt_RangeAxis=srt_MinimumMember
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: | srt_RangeAxis=srt_MaximumMember
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_IndusindBankAndHdfcBankSecuredLoansMember
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: |