Subsequent Events - Additional Information (Details) (USD $) In Thousands, except Share data, unless otherwise specified
|
3 Months Ended |
0 Months Ended |
1 Months Ended |
|
Mar. 31, 2015
|
May 29, 2015
|
May 08, 2015
|
Apr. 02, 2015
|
Magna Convertible Notes |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Convertible notes |
$ 202us-gaap_ConvertibleDebt / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesMember
|
|
|
|
Common stock at a fixed conversion price |
$ 3.75us-gaap_DebtInstrumentConvertibleConversionPrice1 / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesMember
|
|
|
|
Threshold consecutive trading days |
5 days
|
|
|
|
Magna Convertible Notes, Alternate Conversion |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Threshold consecutive trading days |
5 days
|
|
|
|
Secondary Offering Warrant |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Warrants exercised |
913,145amda_ClassofWarrantorRightWarrantsExercised / us-gaap_SubsidiarySaleOfStockAxis = amda_SecondaryOfferingWarrantMember
|
|
|
|
Class of warrant outstanding |
12,244,747us-gaap_ClassOfWarrantOrRightOutstanding / us-gaap_SubsidiarySaleOfStockAxis = amda_SecondaryOfferingWarrantMember
|
|
|
|
Outstanding warrants exercisable |
22,524,640us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_SubsidiarySaleOfStockAxis = amda_SecondaryOfferingWarrantMember
|
|
|
|
Secondary Offering Warrant | Common Stock |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Warrants converted into shares of common stock |
1,717,840amda_StockIssuedDuringPeriodSharesWarrantsExercised / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember / us-gaap_SubsidiarySaleOfStockAxis = amda_SecondaryOfferingWarrantMember
|
|
|
|
Subsequent Event | Magna Convertible Notes |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Outstanding warrants exercisable |
|
|
|
568,889us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember
|
Exercise price of warrants |
|
|
|
$ 4.65us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember
|
Convertible notes |
|
|
|
$ 4,300us-gaap_ConvertibleDebt / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember
|
Common stock at a fixed conversion price |
|
|
|
$ 1.00us-gaap_DebtInstrumentConvertibleConversionPrice1 / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember
|
Arithmetic average threshold |
|
120.00%amda_DebtInstrumentConvertibleWeightedAverageThreshold / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember
|
|
|
Subsequent Event | Magna Convertible Notes, Alternate Conversion |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Common stock at a fixed conversion price |
|
|
|
$ 0.20us-gaap_DebtInstrumentConvertibleConversionPrice1 / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesAlternateConversionMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember
|
Arithmetic average threshold |
|
80.00%amda_DebtInstrumentConvertibleWeightedAverageThreshold / us-gaap_DebtInstrumentAxis = amda_MagnaConvertibleNotesAlternateConversionMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember
|
|
|
Subsequent Event | Secondary Offering Warrant |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Warrants exercised |
|
|
8,713,766amda_ClassofWarrantorRightWarrantsExercised / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember / us-gaap_SubsidiarySaleOfStockAxis = amda_SecondaryOfferingWarrantMember
|
|
Class of warrant outstanding |
|
|
3,554,841us-gaap_ClassOfWarrantOrRightOutstanding / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember / us-gaap_SubsidiarySaleOfStockAxis = amda_SecondaryOfferingWarrantMember
|
|
Subsequent Event | Secondary Offering Warrant | Common Stock |
|
|
|
|
Subsequent Event [Line Items] |
|
|
|
|
Warrants converted into shares of common stock |
|
|
26,279,501amda_StockIssuedDuringPeriodSharesWarrantsExercised / us-gaap_StatementEquityComponentsAxis = us-gaap_CommonStockMember / us-gaap_SubsequentEventTypeAxis = us-gaap_SubsequentEventMember / us-gaap_SubsidiarySaleOfStockAxis = amda_SecondaryOfferingWarrantMember
|
|