Annual report pursuant to Section 13 and 15(d)

Debt and Line of Credit - Additional Information (Details)

v2.4.1.9
Debt and Line of Credit - Additional Information (Details) (USD $)
12 Months Ended 0 Months Ended 1 Months Ended
Dec. 31, 2014
Jun. 30, 2014
Jan. 31, 2014
Dec. 31, 2013
Nov. 06, 2014
Dec. 31, 2012
Aug. 11, 2014
Debt Instrument [Line Items]              
Original principal amount $ 24,500,000us-gaap_DebtInstrumentFaceAmount     $ 18,000,000us-gaap_DebtInstrumentFaceAmount      
Long-term debt outstanding 19,070,000us-gaap_LongTermDebtCurrent     17,925,000us-gaap_LongTermDebtCurrent      
Loss on extinguishment of debt (2,194,000)us-gaap_GainsLossesOnExtinguishmentOfDebt            
Common stock shares, issued 50,583us-gaap_StockIssuedDuringPeriodSharesNewIssues            
Convertible notes into shares 2,047,082us-gaap_DebtConversionConvertedInstrumentSharesIssued1            
Derivative liabilities 13,970,000us-gaap_DerivativeLiabilitiesNoncurrent     210,000us-gaap_DerivativeLiabilitiesNoncurrent      
Bridge Loan              
Debt Instrument [Line Items]              
Original principal amount         1,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
   
Debt instrument, fixed rate         15.00%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
   
Warrant to purchase shares of common stock 25,000amda_WarrantsIssuedToPurchaseCommonStock
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Initial exercisable price $ 1.48us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Debt instrument, maturity date, description Which matured on the earlier of (a) the third business day following the closing of a qualified secondary offering and (b) December 17, 2014            
Debt instrument commitment fee 75,000amda_DebtInstrumentCommitmentFee
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Debt discount and derivative liability 20,000amda_DebtDiscountAndDerivativeLiability
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Magna              
Debt Instrument [Line Items]              
Loss on extinguishment of debt 598,000us-gaap_GainsLossesOnExtinguishmentOfDebt
/ us-gaap_CounterpartyNameAxis
= amda_MagnaMember
           
Face amount of debt instrument converted 1,500,000amda_DebtInstrumentConvertiblePrincipal
/ us-gaap_CounterpartyNameAxis
= amda_MagnaMember
           
Common stock shares, issued 50,853us-gaap_StockIssuedDuringPeriodSharesNewIssues
/ us-gaap_CounterpartyNameAxis
= amda_MagnaMember
           
Convertible notes if-converted value exceeded its principal amount 2,300,000us-gaap_DebtInstrumentConvertibleIfConvertedValueInExcessOfPrincipal
/ us-gaap_CounterpartyNameAxis
= amda_MagnaMember
           
Magna | Common Stock              
Debt Instrument [Line Items]              
Estimated fair value of the common stock shares 229,000us-gaap_StockIssued1
/ us-gaap_CounterpartyNameAxis
= amda_MagnaMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
           
Closing Bridge Warrant | Bridge Loan              
Debt Instrument [Line Items]              
Warrant to purchase shares of common stock 267,380amda_WarrantsIssuedToPurchaseCommonStock
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_ClosingBridgeWarrantMember
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Initial exercisable price $ 1.87us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_ClosingBridgeWarrantMember
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Warrants issue increased 438,596amda_WarrantsIssuedIncreased
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_ClosingBridgeWarrantMember
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Reduced warrant exercise price $ 1.14amda_WarrantExercisePriceReduced
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_ClosingBridgeWarrantMember
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
Warrant expires date Nov. 05, 2019            
Estimate of Fair Value Measurement | Closing Bridge Warrant | Bridge Loan              
Debt Instrument [Line Items]              
Estimated fair value 107,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_ClosingBridgeWarrantMember
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
/ us-gaap_ShortTermDebtTypeAxis
= us-gaap_BridgeLoanMember
           
G E Secured Lending Facility              
Debt Instrument [Line Items]              
Senior secured credit facility, maximum borrowing capacity           21,500,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
 
Original principal amount       18,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
  18,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
 
Debt and line of credit maturity date May 31, 2016            
Final payment fee for debt 720,000us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
           
Annual management fee 15,000amda_AnnualManagementFee
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
           
Debt instrument, frequency of fee Annual management fee of $15,000 per year.            
Long-term debt outstanding including unamortized discount   14,400,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
         
Long-term debt outstanding   14,300,000us-gaap_LongTermDebtCurrent
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
         
Deferred financing cost 1,100,000us-gaap_DeferredFinanceCostsGross
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
           
Loss on extinguishment of debt 1,600,000us-gaap_GainsLossesOnExtinguishmentOfDebt
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
1,600,000us-gaap_GainsLossesOnExtinguishmentOfDebt
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
         
Hercules Term Loan              
Debt Instrument [Line Items]              
Original principal amount 20,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
20,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
         
Debt and line of credit maturity date Jan. 01, 2018            
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. If, however, the Company meets certain revenue conditions, the interest only period may be extended through February 1, 2016, reducing the number of required principal payments to 24 equal installments. Additionally, under certain circumstances the Company may, or Hercules Technology may, require that $1.5 million of the principal be paid in the form of shares of common stock at a fixed conversion price of $5.72 per share.            
Debt instrument, periodic principal payment 700,000us-gaap_DebtInstrumentPeriodicPaymentPrincipal
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
Debt instrument, fixed rate 10.95%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
Deferred financing cost 1,100,000us-gaap_DeferredFinanceCostsGross
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
Repayment of term loan   15,300,000us-gaap_ProceedsFromRepaymentsOfDebt
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
         
Term loan fee amount 200,000us-gaap_DebtInstrumentFeeAmount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
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. In addition, the Company issued a warrant to Hercules Technology (“Hercules Warrant”) to purchase 516,129 shares of the Company’s common stock at an initial exercise price of $4.65, subject to adjustment.            
Termination fee 1,200,000amda_EarlyTerminationFee
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
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%.            
Common stock at a fixed conversion price $ 5.72us-gaap_DebtInstrumentConvertibleConversionPrice1
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
Cash and cash equivalents 9,000,000amda_TermLoanCashMinimumCovenant
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
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.0 million.            
Debt instrument, covenant compliance Although the Company was in compliance with the liquidity covenant at December 31, 2014, 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 | Prime rate plus              
Debt Instrument [Line Items]              
Debt instrument, variable interest rate 7.70%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
/ us-gaap_VariableRateAxis
= us-gaap_PrimeRateMember
           
Hercules Term Loan | Maximum              
Debt Instrument [Line Items]              
Number of installments for principal payments 30amda_NumberOfInstallmentsForPrincipalPayments
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
           
Hercules Term Loan | Minimum              
Debt Instrument [Line Items]              
Number of installments for principal payments 24amda_NumberOfInstallmentsForPrincipalPayments
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
           
Hercules Term Loan | Scenario, Forecast              
Debt Instrument [Line Items]              
Final payment fee for debt 1,500,000us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember
           
Face amount of debt instrument converted 1,500,000amda_DebtInstrumentConvertiblePrincipal
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
/ us-gaap_StatementScenarioAxis
= us-gaap_ScenarioForecastMember
           
Hercules Term Loan | Hercules Warrant              
Debt Instrument [Line Items]              
Initial exercisable price $ 4.65us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_HerculesWarrantMember
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
           
Warrant expires date Jun. 30, 2019            
Hercules Term Loan | Hercules Warrant | Scenario Forecast One              
Debt Instrument [Line Items]              
Warrant to purchase shares of common stock 516,129amda_WarrantsIssuedToPurchaseCommonStock
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_HerculesWarrantMember
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
/ us-gaap_StatementScenarioAxis
= amda_ScenarioForecastOneMember
           
Hercules Term Loan | Estimate of Fair Value Measurement | Hercules Warrant              
Debt Instrument [Line Items]              
Estimated fair value 900,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_HerculesWarrantMember
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
           
Conversion Feature of Note              
Debt Instrument [Line Items]              
Original principal amount   2,900,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaInitialConvertibleNotesMember
         
Debt instrument purchase price   2,500,000amda_DebtInstrumentPurchasePrice
/ us-gaap_DebtInstrumentAxis
= amda_MagnaInitialConvertibleNotesMember
         
Conversion Feature of Note | Portion at Fair Value Measurement              
Debt Instrument [Line Items]              
Derivative liabilities 1,100,000us-gaap_DerivativeLiabilitiesNoncurrent
/ us-gaap_DebtInstrumentAxis
= amda_MagnaInitialConvertibleNotesMember
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_PortionAtFairValueFairValueDisclosureMember
           
Conversion Feature of Note | Portion at Fair Value Measurement | Embedded Derivative | Fair Value, Measurements, Recurring              
Debt Instrument [Line Items]              
Derivative liabilities 848,000us-gaap_DerivativeLiabilitiesNoncurrent
/ us-gaap_DebtInstrumentAxis
= amda_MagnaInitialConvertibleNotesMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_EmbeddedDerivativeFinancialInstrumentsMember
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_PortionAtFairValueFairValueDisclosureMember
/ us-gaap_FairValueByMeasurementFrequencyAxis
= us-gaap_FairValueMeasurementsRecurringMember
           
Magna Additional Convertible Notes              
Debt Instrument [Line Items]              
Original principal amount             3,500,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaAdditionalConvertibleNotesMember
Debt and line of credit maturity date Aug. 11, 2016            
Debt instrument purchase price             3,500,000amda_DebtInstrumentPurchasePrice
/ us-gaap_DebtInstrumentAxis
= amda_MagnaAdditionalConvertibleNotesMember
Face amount of debt instrument converted 3,500,000amda_DebtInstrumentConvertiblePrincipal
/ us-gaap_DebtInstrumentAxis
= amda_MagnaAdditionalConvertibleNotesMember
           
Effective interest rate for Initial Convertible Note and Additional Convertible Note 29.00%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= amda_MagnaAdditionalConvertibleNotesMember
           
Magna Convertible Notes              
Debt Instrument [Line Items]              
Original principal amount 4,500,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Debt and line of credit maturity date Jun. 30, 2016            
Debt instrument, fixed rate 6.00%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Debt instrument, interest rate description The Initial Convertible Note and the Additional Convertible Note mature on June 30, 2016 and August 11, 2016, respectively, (subject to extension by the holder) and accrue interest at an annual rate of 6.0%.            
Face amount of debt instrument converted 1,000,000amda_DebtInstrumentConvertiblePrincipal
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Common stock at a fixed conversion price $ 3.75us-gaap_DebtInstrumentConvertibleConversionPrice1
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Percentage of volume weighted average price 0.80amda_DebtInstrumentConversionPercentageOfVolumeWeightedAveragePrice
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Interest expense on debt 144,000us-gaap_InterestExpenseDebtExcludingAmortization
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Interest expense related to the debt discounts on the Convertible notes 384,000us-gaap_AmortizationOfDebtDiscountPremium
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Effective interest rate for Initial Convertible Note and Additional Convertible Note 50.00%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Magna Convertible Notes | Extinguishment Prior To July Thirty Two Thousand And Fourteen              
Debt Instrument [Line Items]              
Long-term debt outstanding including unamortized discount 150,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
/ us-gaap_ExtinguishmentOfDebtAxis
= amda_ExtinguishmentPriorToJulyThirtyTwoThousandAndFourteenMember
           
Magna Convertible Notes | On or prior to the earlier of October 13, 2014              
Debt Instrument [Line Items]              
Long-term debt outstanding including unamortized discount 250,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
/ us-gaap_StatementScenarioAxis
= amda_ExtinguishmentOnOrPriorToTheEarlierOfOctoberThirteenTwoThousandAndFourteenMember
           
Magna Convertible Notes | Magna Warrant              
Debt Instrument [Line Items]              
Warrant to purchase shares of common stock 568,889amda_WarrantsIssuedToPurchaseCommonStock
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_MagnaWarrantMember
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Initial exercisable price $ 4.65us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_MagnaWarrantMember
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
           
Magna Convertible Notes | Estimate of Fair Value Measurement | Magna Warrant              
Debt Instrument [Line Items]              
Estimated fair value 290,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_ClassOfWarrantOrRightAxis
= amda_MagnaWarrantMember
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
           
Long-term Debt | G E Secured Lending Facility              
Debt Instrument [Line Items]              
Term loan, payment terms The term loan included interest only payments for a period of 12 months, followed by monthly principal payments of approximately $600,000 for a period of 30 months, which the Company commenced paying in January 2014            
Frequency for interest payments 12 months            
Frequency for principal payments 30 months            
Debt instruments, date of first required payment Jan. 31, 2014            
Debt instrument, periodic principal payment     600,000us-gaap_DebtInstrumentPeriodicPaymentPrincipal
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_LongTermDebtMember
       
Debt instrument, fixed rate 7.50%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_LongTermDebtMember
           
Revolving Credit Facility | G E Secured Lending Facility              
Debt Instrument [Line Items]              
Senior secured credit facility, maximum borrowing capacity           $ 3,500,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_DebtInstrumentAxis
= amda_GESecuredLendingFacilityMember