XML 59 R45.htm IDEA: XBRL DOCUMENT v3.20.4
Summary of significant accounting policies - Narrative (Details)
$ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Jul. 17, 2020
USD ($)
Jul. 31, 2020
USD ($)
Dec. 31, 2020
USD ($)
Sep. 30, 2020
USD ($)
Jun. 30, 2020
USD ($)
Mar. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Sep. 30, 2019
USD ($)
Jun. 30, 2019
USD ($)
Mar. 31, 2019
USD ($)
Dec. 31, 2020
USD ($)
segment
Dec. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Aug. 23, 2018
USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Letters of Credit             $ 7,500         $ 7,500      
Number of operating segments | segment                     1        
Number of reporting units | segment                     1        
Allowance for credit loss     $ 0               $ 0        
Inventory write-down                     500 400      
Operating lease ROU assets     84,410       13,693       84,410 13,693      
Stockholders equity     481,982       594,330       481,982 594,330 $ 350,727 $ 156,437  
Increase in allowance for credit losses                     0        
Allowance for doubtful accounts receivable     100       300       100 300      
Unrealized foreign exchange gain on translation of intercompany loan                     54,600        
Revenue                     380,766 306,980 264,734    
Deferred payroll taxes provided for under CARES Act                     2,500        
Cash consideration received from Royalty Purchase Agreement $ 650,000 $ 650,000                 650,000        
State income tax provision                     24,984 61 $ 38    
Deferred research and development advance payments     4,700       4,500       $ 4,700 $ 4,500      
Federal income tax statutory rate                     21.00% 21.00% 21.00%    
Deferred tax liability     122,000               $ 122,000        
Impairment of long-lived assets                     0        
Impairment of indefinite-lived intangibles excluding goodwill                     0        
Impairment of goodwill                     0        
Total     86,964       14,171       86,964 $ 14,171      
Minimum                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Term for letter of credit (in years)                       5 years      
Agilis                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Deferred tax liability                         $ 122,032   $ 115,200
Impairment of goodwill                     0        
Fifth Anniversary                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Letters of Credit             3,800         $ 3,800      
Term for letter of credit (in years)                       5 years      
Non-US                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Revenue                     194,370 $ 190,304      
United States                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Revenue                     186,396 116,676      
Net product revenue                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Revenue     107,258 $ 82,708 $ 75,239 $ 68,196 81,407 $ 71,369 $ 85,476 $ 53,054 333,401 291,306 263,005    
Net product revenue | Non-US                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Revenue                     194,400 190,300 171,000    
Net product revenue | United States                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Revenue                     139,000 101,000 92,000    
Cumulative Effect Adjustment                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Stockholders equity                           3,266  
ASC 606 Adjustment                           3,900  
Variable consideration of accounting principle                           600  
Accumulated deficit                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Stockholders equity     $ (1,628,877)       $ (1,190,499)       $ (1,628,877) $ (1,190,499) $ (938,923) (814,108)  
Accumulated deficit | Cumulative Effect Adjustment                              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                              
Stockholders equity                           $ 3,266