XML 58 R45.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Summary of significant accounting policies - Narrative (Details)
12 Months Ended
Dec. 31, 2019
USD ($)
segment
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Jan. 01, 2019
USD ($)
Aug. 23, 2018
USD ($)
Jan. 01, 2018
USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Letters of credit $ 7,500,000          
Term for letter of credit (in years) 5 years          
Number of operating segments | segment 1          
Number of reporting units | segment 1          
Inventory write-down $ 400,000 $ 1,800,000        
Operating lease ROU asset 13,693,000     $ 11,300,000    
Accumulated deficit (1,190,499,000) (938,923,000)        
ASC 606 Adjustment 3,900,000          
Allowance for doubtful accounts 300,000 700,000        
Deferred research and development advance payments $ 4,500,000 $ 2,400,000        
Federal income tax provision at statutory rate 21.00% 21.00% 34.00%      
Impairment of long-lived assets $ 0          
Operating lease, liability 14,171,000     $ 11,300,000    
Agilis            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Deferred tax liability 122,000,000.0 $ 122,032,000     $ 115,200,000  
Difference between Revenue Guidance in Effect before and after Topic 606            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Accumulated deficit           $ 3,300,000
Variable consideration of accounting principle 600,000          
Fifth Anniversary            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Letters of credit $ 3,800,000          
Term for letter of credit (in years) 5 years          
Non-US            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Net product sales $ 190,300,000 171,000,000.0 $ 145,200,000      
United States            
New Accounting Pronouncements or Change in Accounting Principle [Line Items]            
Net product sales $ 101,000,000.0 $ 92,000,000.0 $ 28,800,000