XML 52 R39.htm IDEA: XBRL DOCUMENT
v3.21.2

Debt (Details Narrative) - USD ($) |  |  |  |  | 1 Months Ended | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 09, 2021 | Mar. 14, 2021 | Aug. 11, 2020 | Mar. 06, 2020 | Feb. 27, 2019 | Aug. 23, 2018 | Jun. 28, 2018 | Jun. 30, 2021 | Jun. 30, 2021 | Jun. 30, 2020 | Dec. 31, 2020 | Jul. 22, 2019
Net and the related liability |  |  |  |  |  |  |  | $ 14,107,000 | $ 14,107,000 |  | $ 14,541,000 |
Payment for equipment |  |  |  |  |  |  |  | 180,948,000 | 180,948,000 |  | 229,619,000 |
Other long term debt |  |  |  |  |  |  |  | 11,461,000 | 11,461,000 |  | 11,980,000 |
Proceeds from issuance of debt |  |  |  |  |  |  |  |  | 0 | $ 6,861,000 |  |
Loans amount |  |  |  |  |  |  |  | 181,889,000 | 181,889,000 |  |  |
Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |
Investment fund |  |  |  |  |  |  |  | $ 300,000 | $ 300,000 |  |  |
Loan rate |  |  |  |  |  |  |  | 7.75% | 7.75% |  |  |
Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |
Investment fund |  |  |  |  |  |  |  | $ 900,000 | $ 900,000 |  |  |
Loan rate |  |  |  |  |  |  |  | 12.00% | 12.00% |  |  |
McAfee [Member] |  |  |  |  |  |  |  |  |  |  |  |
Net Amount at Risk by Product and Guarantee, Net Amount at Risk |  |  |  |  |  |  |  | $ 8,000,000.0 | $ 8,000,000.0 |  |  |
Payroll Protection Program [Member] |  |  |  |  |  |  |  |  |  |  |  |
Received loan |  |  |  |  |  |  |  | 1,100,000.0 | 1,100,000.0 |  |  |
Proceeds from issuance of debt |  |  |  |  |  |  |  | 1,100,000 | 1,100,000 |  |  |
Subordinated Debt | Orsak and Lies |  |  |  |  |  |  |  |  |  |  |  |
Payment for equipment |  |  |  |  |  |  |  | 13,512,000 | 13,512,000 |  | 12,745,000 |
Principal and interest outstanding |  |  |  |  |  |  |  | $ 13,500,000 | $ 13,500,000 |  | 12,700,000 |
Interest rate |  |  |  |  |  |  |  | 10.00% | 10.00% |  |  |
Original Note |  |  |  |  |  |  |  | $ 2,500,000 | $ 2,500,000 |  |  |
Warrants exercisable |  |  |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |
Fees percentage |  |  |  |  |  |  |  | 10.00% | 10.00% |  |  |
Equity financing |  |  |  |  |  |  |  | $ 25,000,000.0 | $ 25,000,000.0 |  |  |
Cash extension fee |  |  |  |  |  |  |  | 10.00% | 10.00% |  |  |
Warrants to purchase common stock shares |  |  |  |  |  |  |  |  | 113,000 |  |  |
Exercise price |  |  |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |
Principal and interest outstanding net |  |  |  |  |  |  |  | $ 900,000 | $ 900,000 |  |  |
Subordinated Debt | Cilion |  |  |  |  |  |  |  |  |  |  |  |
Payment for equipment |  |  |  |  |  |  |  | 6,349,000 | 6,349,000 |  | 6,274,000 |
Principal and interest outstanding |  |  |  |  |  |  |  | $ 5,000,000.0 | $ 5,000,000.0 |  |  |
Interest rate |  |  |  |  |  |  |  | 3.00% | 3.00% |  |  |
Principal and interest outstanding net |  |  |  |  |  |  |  | $ 6,300,000 | $ 6,300,000 |  |  |
Senior Debt-TEC |  |  |  |  |  |  |  |  |  |  |  |
Payment for equipment |  |  |  |  |  |  |  | 7,077,000 | $ 7,077,000 |  | 7,066,000 |
Maturity period | Apr. 01, 2023 | Apr. 01, 2022 | Apr. 01, 2022 |  |  |  |  |  | Apr. 01, 2021 |  |  |
Principal and interest outstanding |  |  |  |  | $ 2,100,000 |  |  | $ 7,200,000 | $ 7,200,000 |  |  |
Fees percentage |  |  | 1.00% |  |  |  |  | 5.00% | 5.00% |  |  |
Reduction in extension fee | 1.00% | 1.00% |  |  |  |  |  | 1.00% | 1.00% |  |  |
Cash | $ 300,000 | $ 100,000 |  |  |  |  |  | $ 300,000 | $ 300,000 |  |  |
Amendment fee |  |  |  |  |  |  |  |  | 50,000 |  |  |
Interest rate |  |  |  |  | 14.00% |  |  |  |  |  |  |
Total proceeds |  |  |  |  | $ 100,000 |  |  |  |  |  |  |
Additional borrowings first |  |  |  |  | 700,000 |  |  |  |  |  |  |
Additional borrowings second |  |  |  |  | $ 600,000 |  |  |  |  |  |  |
Exceed capital expenditures |  |  |  |  |  |  |  |  | 100,000 |  |  |
Promissory note, payable | $ 40,000,000.0 |  |  | $ 18,000,000 |  |  |  |  |  |  |  |
Reserve liquidity facility |  |  |  | $ 70,000,000.0 |  |  |  |  |  |  |  |
Borrowed interest rate | 30.00% |  |  | 30.00% |  |  |  |  |  |  |  |
Default event | 40.00% |  |  | 40.00% |  |  |  |  |  |  |  |
Non-refundable fees percentage | 2.00% |  |  |  |  |  |  |  |  |  |  |
Senior Debt-TEC | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |
Payment for equipment |  |  |  |  |  |  |  | 67,592,000 | 67,592,000 |  | 80,310,000 |
Principal and interest outstanding |  |  |  |  |  |  |  | 18,000,000.0 | 18,000,000.0 |  |  |
Senior Debt-TEC | Acquisition Participation Term Notes |  |  |  |  |  |  |  |  |  |  |  |
Payment for equipment |  |  |  |  |  |  |  | 26,414,000 | $ 26,414,000 |  | 26,384,000 |
Maturity period |  |  |  |  |  |  |  |  | Apr. 01, 2022 |  |  |
Principal and interest outstanding |  |  |  |  |  |  |  | 15,000,000.0 | $ 15,000,000.0 |  |  |
Cash |  |  |  |  |  |  |  | $ 191,000 | $ 191,000 |  |  |
Interest rate |  |  |  |  |  |  |  | 10.75% | 10.75% |  |  |
Principal and interest outstanding net |  |  |  |  |  |  |  | $ 26,600,000 | $ 26,600,000 |  |  |
Unamortized debt issuance costs |  |  |  |  |  |  |  |  | 138,000 |  |  |
Outstanding balance |  |  |  |  |  |  |  | 95,000 | 95,000 |  |  |
Redemption fees |  |  |  |  |  |  |  |  | $ 7,500,000 |  |  |
Senior Debt-TEC | Revenue Participation Term Notes |  |  |  |  |  |  |  |  |  |  |  |
Maturity period |  |  |  |  |  |  |  |  | Apr. 01, 2022 |  |  |
Principal and interest outstanding |  |  |  |  |  |  |  | 10,000,000.0 | $ 10,000,000.0 |  |  |
Cash |  |  |  |  |  |  |  | $ 119,000 | $ 119,000 |  |  |
Interest rate |  |  |  |  |  |  |  | 5.00% | 5.00% |  |  |
Principal and interest outstanding net |  |  |  |  |  |  |  | $ 12,000,000.0 | $ 12,000,000.0 |  |  |
Unamortized debt issuance costs |  |  |  |  |  |  |  |  | 83,000 |  |  |
Outstanding balance |  |  |  |  |  |  |  | 60,000 | $ 60,000 |  |  |
Senior Debt-TEC | Reserve Liquidity |  |  |  |  |  |  |  |  |  |  |  |
Maturity period |  |  |  |  |  |  |  |  | Apr. 01, 2022 |  |  |
Principal and interest outstanding |  |  |  |  |  |  |  | $ 0 | $ 0 |  |  |
Fees percentage |  |  |  |  |  |  |  | 30.00% | 30.00% |  |  |
Borrowed amount |  |  |  |  |  |  |  |  | $ 70,000,000.0 |  |  |
Promissory note amount |  |  |  |  |  |  |  |  | $ 40,000,000.0 |  |  |
Extended maturity date |  |  |  |  |  |  |  |  | Apr. 01, 2023 |  |  |
Financing Agreement for capital expenditures [Member] |  |  |  |  |  |  |  |  |  |  |  |
Net and the related liability |  |  |  |  |  |  |  | $ 600,000.0 | $ 600,000.0 |  |  |
Payment for equipment |  |  |  |  |  |  |  | 5,700,000 | 5,700,000 |  |  |
Other long term debt |  |  |  |  |  |  |  | 5,100,000 | 5,100,000 |  |  |
GAFI Term loan and Revolving loan |  |  |  |  |  |  |  |  |  |  |  |
Payment for equipment |  |  |  |  |  |  |  | $ 22,200,000 | $ 22,200,000 |  | 400,000 |
Maturity period | Apr. 01, 2023 |  | Apr. 01, 2022 |  |  |  |  |  | Jul. 10, 2021 |  |  |
Cash |  |  |  |  |  | $ 1,100,000 |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  | 10.00% | 10.00% |  |  |
Outstanding value |  |  |  |  |  |  |  | $ 11,800,000 | $ 11,800,000 |  |  |
Loans amount |  |  |  |  |  |  | $ 10,000,000 | 15,000,000 | 15,000,000 |  |  |
Aggregate loan amount |  |  |  |  |  |  |  | 10,000,000 | 10,000,000 |  |  |
GAFI Loan |  |  |  |  |  |  |  | 500,000 | 500,000 |  |  | $ 1,100,000
Additional amount |  |  | $ 1,500,000.0 |  |  |  | 1,500,000 |  |  |  |  |
Fees |  |  |  |  |  |  | 75,000 |  |  |  |  |
Repayment amount |  |  |  |  |  | $ 2,100,000 | $ 1,600,000 | 500,000 | 1,000,000.0 |  |  |
Stock appreciation shares |  |  |  |  |  | 1,050,000 |  |  |  |  |  |
Call option |  |  |  |  |  | $ 2.00 |  |  |  |  |  |
Common stock shares amount |  |  |  |  |  | $ 2,100,000 |  |  |  |  |  |
Put option |  |  |  |  |  | $ 1.00 |  |  |  |  |  | $ 1.00
Put option amount |  |  |  |  |  |  |  |  |  |  |  | $ 1,100,000
February 2019 Note |  |  |  |  |  |  |  |  |  |  |  |
Principal and interest outstanding |  |  |  |  |  |  |  | 2,200,000 | 2,200,000 |  |  |
EB-5 Phase II Notes |  |  |  |  |  |  |  |  |  |  |  |
Principal and interest outstanding |  |  |  |  |  |  |  | $ 50,000,000.0 | $ 50,000,000.0 |  |  |
Interest rate |  |  |  |  |  |  |  | 3.00% | 3.00% |  |  |
Loans amount |  |  |  |  |  |  |  | $ 900,000 | $ 900,000 |  |  |
Principal and interest outstanding net |  |  |  |  |  |  |  | 900,000 | 900,000 |  |  |
Investment fund |  |  |  |  |  |  |  | 500,000 | 500,000 |  |  |
Investment current offering |  |  |  |  |  |  |  | 900,000 | 900,000 |  |  |
Aggregate principal amount |  |  |  |  |  |  |  | 50,800,000 | $ 50,800,000 |  |  |
Due and payable term |  |  |  |  |  |  |  |  | 4 years |  |  |
Escrow amount |  |  |  |  |  |  |  | 4,000,000.0 | $ 4,000,000.0 |  |  |
Remaining funded to escrow |  |  |  |  |  |  |  | 46,800,000 | 46,800,000 |  |  |
Escrow outstanding |  |  |  |  |  |  |  | 4,200,000 | 4,200,000 |  |  |
Unsecured Working Capital Loans |  |  |  |  |  |  |  |  |  |  |  |
Principal and interest outstanding |  |  |  |  |  |  |  | $ 5,700,000 | $ 5,700,000 |  | 2,000,000 |
Interest rate |  |  |  |  |  |  |  | 12.00% | 12.00% |  |  |
Monthly net operating profit rate |  |  |  |  |  |  |  | 30.00% | 30.00% |  |  |
Operational support charges |  |  |  |  |  |  |  | 30.00% | 30.00% |  |  |
Secunderabad Oils |  |  |  |  |  |  |  |  |  |  |  |
Principal and interest outstanding |  |  |  |  |  |  |  | $ 600,000 | $ 600,000 |  | $ 600,000.0 |
Interest rate |  |  |  |  |  |  |  | 14.75% | 14.75% |  |  |
Monthly net operating profit rate |  |  |  |  |  |  |  | 30.00% | 30.00% |  |  |
Desposit |  |  |  |  |  |  |  | $ 2,300,000 | $ 2,300,000 |  |  |
EB-5 Phase I Notes |  |  |  |  |  |  |  |  |  |  |  |
Loans amount |  |  |  |  |  |  |  | 500,000 | 500,000 |  |  |
Repayment amount |  |  |  |  |  |  |  | 500,000 | 1,000,000.0 |  |  |
Principal and interest outstanding net |  |  |  |  |  |  |  | 36,000,000.0 | 36,000,000.0 |  |  |
Investment fund |  |  |  |  |  |  |  | 500,000 | 500,000 |  |  |
Aggregate principal amount |  |  |  |  |  |  |  | 36,000,000.0 | 36,000,000.0 |  |  |
Escrow amount |  |  |  |  |  |  |  | 35,500,000 | 35,500,000 |  |  |
Remaining funded to escrow |  |  |  |  |  |  |  | 500,000 | 500,000 |  |  |
Principal outstanding |  |  |  |  |  |  |  | 500,000 | 500,000 |  |  |
Interest outstanding |  |  |  |  |  |  |  | $ 3,100,000 | $ 3,100,000 |  |  |
Conversion price |  |  |  |  |  |  |  | $ 30 | $ 30 |  |  |
Accrued interest outstanding |  |  |  |  |  |  |  | $ 3,700,000 | $ 3,700,000 |  |  |
Principal funding amount |  |  |  |  |  |  |  | $ 34,500,000 | $ 34,500,000 |  |  |
GAFI Revolving Loan |  |  |  |  |  |  |  |  |  |  |  |
Fees percentage |  |  |  |  |  |  |  | 13.75% | 13.75% |  |  |
Cash |  |  |  |  |  |  |  | $ 926,000 | $ 926,000 |  |  |
Interest rate |  |  |  |  |  |  |  | 10.00% | 10.00% |  |  |
Unamortized debt issuance costs |  |  |  |  |  |  |  |  | $ 669,000 |  |  |
Outstanding balance |  |  |  |  |  |  |  | $ 418,000 | 418,000 |  |  |
Principal outstanding |  |  |  |  |  |  |  | $ 68,300,000.0 | 68,300,000.0 |  |  |
Interest and waiver fees |  |  |  |  |  |  |  |  | 68,300,000 |  |  |
Extension fee |  |  |  |  |  |  |  |  | $ 518,000 |  |  |
GAFI Term Loan |  |  |  |  |  |  |  |  |  |  |  |
Maturity period |  |  |  |  |  |  |  |  | Apr. 01, 2022 |  |  |
Fees percentage |  |  |  |  |  |  |  | 14.00% | 14.00% |  |  |
Cash |  |  |  |  |  |  |  | $ 71,000 | $ 71,000 |  |  |
Unamortized debt issuance costs |  |  |  |  |  |  |  |  | 52,000 |  |  |
Outstanding balance |  |  |  |  |  |  |  | 35,000 | 35,000 |  |  |
Principal outstanding |  |  |  |  |  |  |  | $ 7,100,000 | $ 7,100,000 |  |  |

X
- References No definition available. + Details
Name: | amtx_AdditionalAmount
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_AdditionalBorrowingsFirst
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_AdditionalBorrowingsSecond
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_AggregateLoanAmount
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- References No definition available. + Details
Name: | amtx_BorrowedInterestRate
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_CallOption
Namespace Prefix: | amtx_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_CashExtensionFee
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_CommonStockSharesAmount
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | amtx_DefaultEvent
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_EscrowOutstanding
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_ExtensionFee
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Agreed upon price for the exchange of the underlying asset. + References No definition available. + Details
Name: | amtx_FairValueAssumptionsExercisesPrice
Namespace Prefix: | amtx_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_FeesPercentage
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_GafiLoan
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_InterestAndWaiverFees
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Custom Element. + References No definition available. + Details
Name: | amtx_InterestOutstanding
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_InvestmentCurrentOffering
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in equity method investee and investment in and advance to affiliate. + References No definition available. + Details
Name: | amtx_InvestmentFund
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_LoanRate
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Includes loans held for + References No definition available. + Details
Name: | amtx_LoansReceivablesNet
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_NonRefundableFeesPercentage
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_OperationalSupportCharges
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_OutstandingAmount
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_OutstandingBalance
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_OutstandingValue
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Custom Element. + References No definition available. + Details
Name: | amtx_PrincipalAndInterestOutstanding
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_PrincipalAndInterestOutstandingNet
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_PrincipalFundingAmount
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_PrincipalOutstanding
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_PutOption
Namespace Prefix: | amtx_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_PutOptionAmount
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_ReductionInExtensionFee
Namespace Prefix: | amtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | amtx_RemainingFundedToEscrow
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt. + References No definition available. + Details
Name: | amtx_UnamortizedDebtIssuanceExpenses
Namespace Prefix: | amtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reflects the effective interest rate as of the balance sheet date on interest-bearing trade payables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 25 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=29642582&loc=d3e27881-108397 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 http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 25 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=29642582&loc=d3e27862-108397 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399 + Details
Name: | us-gaap_AccountsPayableInterestBearingInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other. + References No definition available. + Details
Name: | us-gaap_AccruedLiabilitiesAndOtherLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of capital expenditure attributable to discontinued operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_CapitalExpenditureDiscontinuedOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840 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.1) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 45 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840 + Details
Name: | us-gaap_Cash
Namespace Prefix: | us-gaap_
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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + 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)(1) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870 Reference 2: 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(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 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(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 http://asc.fasb.org/extlink&oid=120520924&loc=SL6031898-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6036836-161870 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 http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 3: 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: 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 http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Latest date the outstanding debt instruments are required to be repaid, in CCYY-MM-DD format. + 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(a)(2)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDateRangeEnd1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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 Carrying value of amounts transferred to third parties for security purposes that are expected to be returned or applied towards payment after one year or beyond 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.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DepositsAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The designation of funds furnished by a borrower to a lender to assure future payments of the borrower's real estate taxes and insurance obligations with respect to a mortgaged property. Escrow deposits may be made for a variety of other purposes such as earnest money and contingent payments. This element excludes replacement reserves which are an escrow separately provided for within the US GAAP taxonomy. + References Reference 1: 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.10) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_EscrowDeposit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of expense provided in the period for legal costs incurred on or before the balance sheet date pertaining to resolved, pending or threatened litigation, including arbitration and mediation proceedings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 + Details
Name: | us-gaap_LegalFees
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 http://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 Amount of increase (decrease) of the credit facility. + 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.(f)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + 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 http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870 Reference 2: 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 http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: 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 http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 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(22)) -URI http://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 Amount of expenses related to the managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_ManagementFeeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 http://asc.fasb.org/extlink&oid=121641442&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 http://asc.fasb.org/extlink&oid=121639652&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 http://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 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 -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow from short-term debt classified as other. + 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 http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromOtherShortTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from borrowings supported by a written promise to pay an obligation that is collateralized (backed by pledge, mortgage or other lien in the entity's assets). + 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 http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromSecuredNotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The excess of the (1) fair value of consideration transferred to the holders of a security in excess of (2) the carrying amount of the security reported on the registrant's balance sheet, which will be deducted from net earnings to derive net earnings available to common shareholders. This amount is generally an adjustment considered in the computation of earnings per share. + References No definition available. + Details
Name: | us-gaap_RedemptionPremium
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 http://asc.fasb.org/extlink&oid=121586364&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 debt initially having maturity due after one year or beyond the normal 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 http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
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://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 http://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 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(1)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: 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 http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_ShortTermBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The portion of the carrying amount of short-term borrowings outstanding as of the balance sheet date which accrues interest at a set, unchanging rate. + References No definition available. + Details
Name: | us-gaap_ShortTermDebtPercentageBearingFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of stock issued during the period pursuant to acquisitions. + 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 http://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 S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesAcquisitions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of stock issued attributable to transactions classified as other. + References No definition available. + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of subordinated debt (with initial maturities beyond one year or beyond the operating cycle if longer). Subordinated debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets. + 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)) -URI http://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 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 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 http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 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(22)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_SubordinatedDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying amount, attributable to parent and noncontrolling interests, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer. + 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.27(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_RelatedPartyTransactionsByRelatedPartyAxis=amtx_McAfeeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=amtx_PayrollProtectionProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=amtx_OrsakAndLiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=amtx_CilionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=amtx_RevolvingCreditsFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=amtx_ReserveLiquidityMember
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: |

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amtx_February2019NoteMember
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_UnsecuredWorkingCapitalLoansMember
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_EB5PhaseINotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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