XML 53 R42.htm IDEA: XBRL DOCUMENT
v3.25.2

Note 5 - Debt (Details Textual) - USD ($) $ / shares in Units, shares in Thousands |  |  |  |  |  | 6 Months Ended | 24 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 28, 2023 | May 16, 2023 | Oct. 04, 2022 | Mar. 02, 2022 | Jul. 06, 2012 | Jun. 30, 2025 | Jun. 30, 2024 | Dec. 31, 2019 | Jan. 01, 2025 | Dec. 31, 2024 | Nov. 30, 2024 | Aug. 01, 2022 | Jul. 26, 2022 | Feb. 27, 2019 | Jan. 09, 2012
Short-Term Debt |  |  |  |  |  | $ 22,995,000 |  |  |  | $ 26,789,000 |  |  |  |  |
Long-Term Debt, Current Maturities |  |  |  |  |  | 247,615,000 |  |  |  | 63,745,000 |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  |  | $ 344,232,000 |  |  |  | $ 338,061,000 |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  |  |  |  |  | $ 9.64 |  |  |  | $ 11.7 |  |  |  |  |
Warrants and Rights Outstanding, Term (Year) |  |  |  |  |  | 3 years 10 months 17 days |  |  |  | 4 years 9 months 10 days |  |  |  |  |
Proceeds from Issuance of Debt |  |  |  |  |  | $ 21,319,000 | $ 8,436,000 |  |  |  |  |  |  |  |
AAFK [Member] | Warrants in Connection With Subordinated Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights (in shares) |  |  |  |  |  |  |  |  | 113 |  |  |  |  |  | 113
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) |  |  |  |  |  |  |  |  | $ 0.01 |  |  |  |  |  | $ 0.01
Warrants and Rights Outstanding, Term (Year) |  |  |  |  |  |  |  |  | 2 years |  |  |  |  |  | 2 years
Third Eye Capital [Member] | Chief Executive Officer [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount Guaranteed by Related Party |  | $ 10,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  | $ 18,000,000 | $ 30,800,000 |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  | 21.25% |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | $ 300,000 |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Revolving Credit Facility [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  | 13.75% |  |  |  |  |  |  |  |  |  |
Third Eye Capital [Member] | Acquisition Term Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  | $ 15,000,000 |  |  |  |  |  |  |  |  |  |
Revolving Notes Series B [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  |  | $ 77,000,000 |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  | 21.25% |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | $ 700,000 |  |  |  |  |  |  |  |  |
Revolving Notes Series B [Member] | Revolving Credit Facility [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 13.75% |  |  |  |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  |  | 12,300,000 |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  | 5.00% |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | 85,800 |  |  |  |  |  |  |  |  |
Term Notes [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  |  | 7,300,000 |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 14.00% |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | 52,500,000 |  |  |  |  |  |  |  |  |
Acquisition Term Notes [Member] | Third Eye Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  |  | $ 27,100,000 |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  | 18.25% |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | $ 200,000 |  |  |  |  |  |  |  |  |
Acquisition Term Notes [Member] | Third Eye Capital [Member] | Aemetis Facility Keyes, Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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% |  |  |  |  |  |  |  |  |  |
Fuels Revolving Line [Member] | GAFI [Member] | Minimum [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] | ACCI [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  |  | 44,900,000 |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | 700,000 |  |  |  |  |  |  |  |  |
Long-Term Debt, Current Maturities |  |  |  |  |  | 28,300,000 |  |  |  |  |  |  |  |  |
Carbon Revolving Line [Member] | ACCI [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  | 8.00% |  |  |  |  |  |  |  |  |  |  |
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, Face Amount |  |  |  |  | $ 5,000,000 |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 3.00% |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  |  | 7,351,000 |  |  |  | $ 7,242,000 |  |  |  |  |
Subordinated Notes [Member] | AAFK [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  |  | 20,600,000 |  |  |  | 19,400,000 |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | 700,000 |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 3,400,000
Debt Instrument Fee Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00%
Debt Extension Fee, Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00%
EB5 Phase I Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  |  | 34,800,000 |  |  |  | 34,600,000 |  |  |  |  |
Debt Instrument, Convertible, Conversion Price (in dollars per share) |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 30 |
EB-5 Promissory Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  |  | 39,212,000 |  |  |  | 41,615,000 |  |  |  |  |
Proceeds from Issuance of Debt |  |  |  |  |  |  |  | $ 4,000,000 |  |  |  |  |  |  |
EB5 Phase II Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  |  | 4,400,000 |  |  |  | 4,400,000 |  |  |  |  |
Secunderabad Oils [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Short-Term Debt |  |  |  |  |  | 2,900,000 |  |  |  | 5,100,000 |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  | 18.00% |  |
Debt Agreement, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  | $ 3,600,000 |  |
Leo Edibles & Fats Limited [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Agreement, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  | $ 1,270,000 |  |  |
Construction Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 9.25% |  |  |  |  |  |  |  |  |  |  |  |
Debt, Long-Term and Short-Term, Combined Amount |  |  |  |  |  | 48,436,000 |  |  |  | 48,235,000 |  |  |  |  |
Debt Agreement, Maximum Borrowing Capacity |  |  | $ 25,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt |  |  |  |  |  | 24,800,000 |  |  |  | 25,100,000 |  |  |  |  |
Construction Loan Agreement [Member] | US Treasury (UST) Interest Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 5.00% |  |  |  |  |  |  |  |  |  |  |  |
Construction Loan Agreement 2 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage | 8.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Net |  |  |  |  |  | 800,000 |  |  |  | 800,000 |  |  |  |  |
Debt Agreement, Maximum Borrowing Capacity | $ 25,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt |  |  |  |  |  | 24,400,000 |  |  |  | 23,900,000 |  |  |  |  |
Construction Loan Agreement 2 [Member] | US Treasury (UST) Interest Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate | 5.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Jessup Land Acquisition Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  |  |  | $ 840,000 |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 11.99% |  |  |  |
Long-Term Debt |  |  |  |  |  | $ 640,000 |  |  |  | $ 840,000 |  |  |  |  |

X
- Definition Amount guaranteed by related party. + References No definition available. + Details
Name: | amtx_AmountGuaranteedByRelatedParty
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 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 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 Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: 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/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 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://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 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + 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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -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://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -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 Reference 2: 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 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -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 4: 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, 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/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 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/2147478546/942-210-S99-1 Reference 7: 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 8: 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 9: 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 10: 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/2147478777/944-210-S99-1 Reference 11: 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 The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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://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 Reference 2: 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/2147478546/942-210-S99-1 Reference 3: 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 4: 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/2147478777/944-210-S99-1 + Details
Name: | us-gaap_ShortTermBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: 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 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -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: | 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_LineOfCreditFacilityAxis=amtx_ThirdEyeCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_ChiefExecutiveOfficerMember
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_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_LineOfCreditFacilityAxis=amtx_RevolvingNotesSeriesBMember
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_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: | srt_ConsolidatedEntitiesAxis=amtx_GafiMember
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_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_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_EB5PhaseINotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_EB5PromissoryNotesMember
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_VariableRateAxis=us-gaap_UsTreasuryUstInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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