XML 34 R36.htm IDEA: XBRL DOCUMENT
v3.2.0.727

Debt - Additional Information (Details) |  | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | --- | ---
Jun. 25, 2015 USD ($) | Jun. 30, 2015 USD ($) $ / shares shares | Jun. 30, 2014 USD ($) | Jun. 30, 2015 USD ($) installment $ / shares shares | Jun. 30, 2014 USD ($) | Dec. 31, 2014 USD ($) | Aug. 11, 2014 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original principal amount |  | $ 24,298,000 |  | $ 24,298,000 |  | $ 24,500,000 |
Loss on extinguishment of debt |  | 0 | $ 1,596,000 | 79,000 | $ 1,596,000 |  |
Hercules Term Loan |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original principal amount |  | $ 20,000,000 | 20,000,000 | $ 20,000,000 | 20,000,000 | 20,000,000 |
Debt and line of credit maturity date |  |  |  | Jan. 01, 2018 |  |  |
Term loan fee amount |  |  | 200,000 |  | 200,000 |  |
Final payment fee for debt |  |  | 1,500,000 |  | 1,500,000 |  |
Debt description |  |  |  | The Hercules Term Loan also includes a non-refundable final payment fee of $1.5 million. The final payment fee is being accrued and recorded to interest expense over the life of the loan. |  |  |
Debt instrument, fixed rate |  | 10.95% |  | 10.95% |  |  |
Debt instrument, interest rate description |  |  |  | The Hercules Term Loan bears interest at the rate of the greater of either (i) the prime rate plus 7.7%, and (ii) 10.95%. |  |  |
Debt instrument, periodic payment, principal |  |  |  | $ 700,000 |  |  |
Term loan, payment terms |  |  |  | Interest accrues from the closing date of the loan and interest payments are due monthly. Principal payments are required commencing August 1, 2015 and are to be made in 30 equal installments of approximately $700,000, with the remainder due at maturity. |  |  |
Debt instrument, covenant description |  |  |  | The Hercules Term Loan contains certain covenants related to restrictions on payments to certain Company affiliates, financial reporting requirements and a minimum liquidity covenant that requires the Company to maintain cash and cash equivalents of not less than $9 million. |  |  |
Debt instrument, covenant compliance |  |  |  | Although the Company was in compliance with the liquidity covenant at June 30, 2015, the Company anticipates that it will be non-compliant with the liquidity covenant during the fourth quarter of 2015 if additional financing is not obtained, and has therefore classified the entire obligation as a current liability |  |  |
Hercules Term Loan | Maximum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Number of installments for principal payments | installment |  |  |  | 30 |  |  |
Hercules Term Loan | Prime rate plus |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, variable interest rate |  |  |  | 7.70% |  |  |
Hercules Term Loan, Liquidity Covenant |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Cash |  | $ 9,000,000 |  | $ 9,000,000 |  |  |
Conversion Feature of Note |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original principal amount |  |  | 2,900,000 |  | 2,900,000 |  |
Debt instrument purchase price |  |  | $ 2,500,000 |  | $ 2,500,000 |  |
Magna Additional Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original principal amount |  |  |  |  |  |  | $ 3,500,000
Debt instrument purchase price |  |  |  |  |  |  | $ 3,500,000
Magna Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Original principal amount |  | $ 4,298,000 |  | $ 4,298,000 |  | $ 4,500,000 |
Conversion Option 1 [Member] | Magna Exchange Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Common stock at a fixed conversion price | $ / shares |  | $ 1.00 |  | $ 1.00 |  |  |
Conversion Option 2 [Member] | Magna Exchange Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Common stock at a fixed conversion price | $ / shares |  | $ 0.20 |  | $ 0.20 |  |  |
Although the Company was in compliance with the liquidity covenant at June 30, 2015, the Company anticipates that it will be non-compliant with the liquidity covenant during the fourth quarter of 2015 if additional financing is not obtained, and has therefore classified the entire obligation as a current liability |  |  |  | 5 days |  |  |
Percentage of volume weighted average price |  |  |  | 80.00% |  |  |
Convertible Debt [Member] | Magna Exchange Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt instrument, fixed rate |  | 6.00% |  | 6.00% |  |  |
Debt Conversion, Original Debt, Amount |  |  |  | $ 202,000 |  |  |
Convertible notes |  | $ 4,300,000 |  | $ 4,300,000 |  |  |
Number of shares converted | shares |  |  |  | 373,000 |  |  |
Loss on extinguishment of debt |  |  |  | $ 79,000 |  |  |
Threshold percentage of shares issuable to outstanding shares |  |  |  | 19.90% |  |  |
Repayments of Debt | $ 6,500,000 |  |  |  |  |  |
Convertible Debt [Member] | Magna Exchange Convertible Notes, Mature on June 30, 2016 |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt and line of credit maturity date |  |  |  | Jun. 30, 2016 |  |  |
Convertible notes |  | 798,000 |  | $ 798,000 |  |  |
Convertible Debt [Member] | Magna Exchange Convertible Notes, Mature on August 11, 2016 |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt and line of credit maturity date |  |  |  | Aug. 11, 2016 |  |  |
Convertible notes |  | $ 3,500,000 |  | $ 3,500,000 |  |  |
Magna Warrant [Member] |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Common stock, authorized, shares | shares |  | 568,889 |  | 568,889 |  |  |
Exercise price of warrants (in usd per share) | $ / shares |  | $ 4.65 |  | $ 4.65 |  |  |

X
- Definition The lowest daily volume weighted average price, or VWAP, of the Company’s common stock during the five trading days prior to conversion. + References No definition available. + Details
Name: | amda_DebtInstrumentConversionPercentageOfVolumeWeightedAveragePrice
Namespace Prefix: | amda_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Convertible, Threshold Percentage of Shares Issuable to Outstanding Shares + References No definition available. + Details
Name: | amda_DebtInstrumentConvertibleThresholdPercentageofSharesIssuabletoOutstandingShares
Namespace Prefix: | amda_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument Purchase Price. + References No definition available. + Details
Name: | amda_DebtInstrumentPurchasePrice
Namespace Prefix: | amda_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Instrument, Representations And Warranties Allegedly Broken, Repayment Demanded By Counterparty + References No definition available. + Details
Name: | amda_DebtInstrumentRepresentationsAndWarrantiesAllegedlyBrokenRepaymentDemandedByCounterparty
Namespace Prefix: | amda_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of installments for principal payments. + References No definition available. + Details
Name: | amda_NumberOfInstallmentsForPrincipalPayments
Namespace Prefix: | amda_
Data Type: | xbrli:integerItemType
Balance Type: | na
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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 + 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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionOriginalDebtAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of long-term debt before deduction of unamortized discount or premium. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt, with initial maturities beyond one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -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=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 20 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 + 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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6928298&loc=SL6031898-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Threshold period of specified consecutive trading days within which common stock price to conversion price of convertible debt instruments must exceed threshold percentage for a specified number of trading days to trigger conversion feature, 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_DebtInstrumentConvertibleThresholdConsecutiveTradingDays
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition States whether the entity was in compliance with the debt covenants throughout the reporting period, and describes facts and circumstances of any compliance failure. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentCovenantCompliance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of minimum financial levels (for example, tangible net worth and working capital) and achievement of certain financial ratios (for example, working capital ratio and debt service coverage ratio), and adherence to certain clauses which generally require or restrict certain actions (for example, entering into a debt arrangement with equal or greater seniority, and selling or discontinuing a certain business segment or material subsidiary) to be in compliance with the covenant clauses of the debt agreement. May also include a discussion of the adverse consequences that would result if the entity violates or fails to satisfy the covenants. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentCovenantDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=34725769&loc=d3e28878-108400 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of a fee associated with the debt instrument, including a commitment fee on unborrowed portions of a lender's total contractual commitment. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentFee
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + 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/presentationRef -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=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of the interest rate as being fixed or variable, and, if variable, identification of the index or rate on which the interest rate is based and the number of points or percentage added to that index or rate to set the rate, and other pertinent information, such as frequency of rate resets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -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=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentInterestRateTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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/presentationRef -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=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the payment terms of the debt instrument (for example, whether periodic payments include principal and frequency of payments) and discussion about any contingencies associated with the payment. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentPaymentTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -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=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of payment greater than the preceding installment payments to be paid at final maturity date of debt. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6850294&loc=d3e12317-112629 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6850294&loc=d3e12355-112629 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
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_DebtInstrumentAxis=amda_HerculesTermLoanLiquidityCovenantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_StatementScenarioAxis=amda_ConversionOption1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_StatementScenarioAxis=amda_ConversionOption2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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