Annual report pursuant to Section 13 and 15(d) 12-31-2014

Equity - Schedule of Convertible Preferred Stock (Details)

v2.4.1.9
Equity - Schedule of Convertible Preferred Stock (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
Dec. 31, 2014
Dec. 31, 2013
Sep. 30, 2013
Aug. 31, 2013
Class Of Stock [Line Items]        
Designated Shares 130,000,000us-gaap_TemporaryEquitySharesAuthorized 100,000,000us-gaap_TemporaryEquitySharesAuthorized    
Shares Issued 0us-gaap_TemporaryEquitySharesIssued 80,910,394us-gaap_TemporaryEquitySharesIssued    
Shares Outstanding 0us-gaap_TemporaryEquitySharesOutstanding 80,910,394us-gaap_TemporaryEquitySharesOutstanding    
Aggregate Liquidation Preference $ 0us-gaap_TemporaryEquityLiquidationPreference $ 149,692us-gaap_TemporaryEquityLiquidationPreference    
Series A        
Class Of Stock [Line Items]        
Designated Shares   5,800,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAConvertiblePreferredStockMember
   
Shares Issued   5,365,398us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAConvertiblePreferredStockMember
   
Shares Outstanding   5,365,398us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   3,219us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAConvertiblePreferredStockMember
   
Series A-1        
Class Of Stock [Line Items]        
Designated Shares   10,400,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAOneConvertiblePreferredStockMember
   
Shares Issued   10,390,463us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAOneConvertiblePreferredStockMember
   
Shares Outstanding   10,390,463us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAOneConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   6,234us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesAOneConvertiblePreferredStockMember
   
Series B        
Class Of Stock [Line Items]        
Designated Shares   2,300,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBConvertiblePreferredStockMember
   
Shares Issued   1,944,147us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBConvertiblePreferredStockMember
   
Shares Outstanding   1,944,147us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   2,333us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBConvertiblePreferredStockMember
   
Series B-1        
Class Of Stock [Line Items]        
Designated Shares   3,300,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBOneConvertiblePreferredStockMember
   
Shares Issued   3,299,141us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBOneConvertiblePreferredStockMember
   
Shares Outstanding   3,299,141us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBOneConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   3,959us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesBOneConvertiblePreferredStockMember
   
Series C        
Class Of Stock [Line Items]        
Designated Shares   7,900,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCConvertiblePreferredStockMember
   
Shares Issued   6,682,562us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCConvertiblePreferredStockMember
   
Shares Outstanding   6,682,562us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   13,365us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCConvertiblePreferredStockMember
   
Series C-1        
Class Of Stock [Line Items]        
Designated Shares   4,325,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCOneConvertiblePreferredStockMember
   
Shares Issued   4,275,000us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCOneConvertiblePreferredStockMember
   
Shares Outstanding   4,275,000us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCOneConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   8,550us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesCOneConvertiblePreferredStockMember
   
Series D        
Class Of Stock [Line Items]        
Designated Shares   8,300,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDConvertiblePreferredStockMember
   
Shares Issued   7,978,800us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDConvertiblePreferredStockMember
   
Shares Outstanding   7,978,800us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   23,936us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDConvertiblePreferredStockMember
   
Series D-1        
Class Of Stock [Line Items]        
Designated Shares   6,300,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDOneConvertiblePreferredStockMember
   
Shares Issued   6,145,667us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDOneConvertiblePreferredStockMember
   
Shares Outstanding   6,145,667us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDOneConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   18,437us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesDOneConvertiblePreferredStockMember
   
Series E        
Class Of Stock [Line Items]        
Designated Shares   16,200,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesEConvertiblePreferredStockMember
   
Shares Issued   15,201,716us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesEConvertiblePreferredStockMember
   
Shares Outstanding   15,201,716us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesEConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   30,404us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesEConvertiblePreferredStockMember
   
Series F        
Class Of Stock [Line Items]        
Designated Shares   20,710,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesFConvertiblePreferredStockMember
   
Shares Issued   19,627,500us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesFConvertiblePreferredStockMember
4,740,000us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesFConvertiblePreferredStockMember
4,740,000us-gaap_TemporaryEquitySharesIssued
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesFConvertiblePreferredStockMember
Shares Outstanding   19,627,500us-gaap_TemporaryEquitySharesOutstanding
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesFConvertiblePreferredStockMember
   
Aggregate Liquidation Preference   $ 39,255us-gaap_TemporaryEquityLiquidationPreference
/ us-gaap_StatementClassOfStockAxis
= amda_SeriesFConvertiblePreferredStockMember
   
Undesignated        
Class Of Stock [Line Items]        
Designated Shares   14,465,000us-gaap_TemporaryEquitySharesAuthorized
/ us-gaap_StatementClassOfStockAxis
= amda_UndesignatedConvertiblePreferredStockMember