XML 48 R28.htm IDEA: XBRL DOCUMENT v3.10.0.1
Summary of Significant Accounting Policies - Additional Information (Detail)
1 Months Ended 12 Months Ended
Apr. 30, 2016
USD ($)
Dec. 31, 2018
USD ($)
Customer
Segment
shares
Dec. 31, 2017
USD ($)
Customer
shares
Dec. 31, 2016
USD ($)
Customer
shares
Jan. 01, 2018
USD ($)
Summary Of Significant Accounting Policy [Line Items]          
Net cash used in operations   $ (167,470,000) $ (217,757,000) $ (208,408,000)  
Net decrease in cash and cash equivalents   67,691,000 (94,102,000) 63,482,000  
Accounts receivable written off   100,000 0 0  
Charge on finished goods inventory   2,700,000 700,000 0  
Impairment losses   0      
One-time contingent regulatory milestone payment pursuant to agreement with Ipsen Group $ 8,000,000        
Finite-lived intangible assets, net $ 8,000,000        
Amortization of intangible assets   1,476,000 1,477,000 985,000  
Estimated future amortization expense, 2019   1,500,000      
Estimated future amortization expense, 2020   1,500,000      
Estimated future amortization expense, 2021   1,000,000      
Advertising costs   39,800,000 15,600,000 $ 1,600,000  
Advertising costs capitalized as prepaid expenses   0 0    
Revenue recognition   $ (1,468,863,000) $ (1,223,671,000)    
Number of large customers | Customer   4 4 4  
Antidilutive securities to purchase common stock | shares   20,824,000 18,526,000 14,739,000  
Number of business segments | Segment   1      
Tax rate   21.00% 35.00%    
Customer Concentration Risk | Sales Revenue, Product Line | Four Customers          
Summary Of Significant Accounting Policy [Line Items]          
Concentration risk, percentage   85.00% 89.00% 93.00%  
Customer Concentration Risk | Accounts Receivable | Four Customers          
Summary Of Significant Accounting Policy [Line Items]          
Concentration risk, percentage   84.00% 87.00% 91.00%  
ASU 2016-18          
Summary Of Significant Accounting Policy [Line Items]          
Net cash used in operations     $ (100,000)    
Net decrease in cash and cash equivalents     $ (100,000)    
Topic 606          
Summary Of Significant Accounting Policy [Line Items]          
Cumulative-effect adjustment to retained earnings         $ 0
Increase to additional paid-in capital with corresponding increase to accumulated deficit         $ 0
Topic 606 | Difference effect of change - higher (lower)          
Summary Of Significant Accounting Policy [Line Items]          
Revenue recognition   $ 0      
ASU 2016-09          
Summary Of Significant Accounting Policy [Line Items]          
Cumulative-effect adjustment to retained earnings   300,000      
Increase in deferred tax assets to record unrecognized excess tax benefits   36,800,000      
Increase to additional paid-in capital with corresponding increase to accumulated deficit   300,000      
Increase in deferred tax assets to record excess tax benefit   100,000      
ASU 2016-02          
Summary Of Significant Accounting Policy [Line Items]          
Expected right-to-use asset upon ASU adoption   12,000,000      
Expected lease liability upon ASU adoption   $ 12,000,000