Quarterly report pursuant to Section 13 or 15(d)

Debt - Outstanding Long-Term Debt (Details)

v2.4.1.9
Debt - Outstanding Long-Term Debt (Details) (USD $)
Mar. 31, 2015
Dec. 31, 2014
Jun. 30, 2014
Debt Instrument [Line Items]      
Total debt, outstanding principal $ 24,298,000us-gaap_DebtInstrumentFaceAmount $ 24,500,000us-gaap_DebtInstrumentFaceAmount  
Less: current portion, outstanding principal (20,000,000)amda_DebtInstrumentFaceAmountCurrent (20,000,000)amda_DebtInstrumentFaceAmountCurrent  
Long-term debt, outstanding principal 4,298,000amda_DebtInstrumentFaceAmountNoncurrent 4,500,000amda_DebtInstrumentFaceAmountNoncurrent  
Total debt, unamortized discount (2,031,000)us-gaap_DebtInstrumentUnamortizedDiscount (2,369,000)us-gaap_DebtInstrumentUnamortizedDiscount  
Less: current portion, unamortized discount 843,000amda_DebtInstrumentUnamortizedDiscountCurrent 930,000amda_DebtInstrumentUnamortizedDiscountCurrent  
Long-term debt, unamortized discount (1,188,000)amda_DebtInstrumentUnamortizedDiscountNoncurrent (1,439,000)amda_DebtInstrumentUnamortizedDiscountNoncurrent  
Total debt, net carrying amount 22,267,000us-gaap_LongTermDebt 22,131,000us-gaap_LongTermDebt  
Less: current portion, net carrying amount (19,157,000)us-gaap_LongTermDebtCurrent (19,070,000)us-gaap_LongTermDebtCurrent  
Long-term debt 3,110,000us-gaap_LongTermDebtNoncurrent 3,061,000us-gaap_LongTermDebtNoncurrent  
Hercules Term Loan      
Debt Instrument [Line Items]      
Total debt, outstanding principal 20,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
20,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
20,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
Total debt, unamortized discount (843,000)us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
(930,000)us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
 
Total debt, net carrying amount 19,157,000us-gaap_LongTermDebt
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
19,070,000us-gaap_LongTermDebt
/ us-gaap_DebtInstrumentAxis
= amda_HerculesTermLoanMember
 
Convertible Note      
Debt Instrument [Line Items]      
Total debt, outstanding principal 4,298,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
4,500,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
 
Total debt, unamortized discount (1,188,000)us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
(1,439,000)us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
 
Total debt, net carrying amount $ 3,110,000us-gaap_LongTermDebt
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember
$ 3,061,000us-gaap_LongTermDebt
/ us-gaap_DebtInstrumentAxis
= amda_MagnaConvertibleNotesMember