XML 53 R37.htm IDEA: XBRL DOCUMENT v3.8.0.1
Organization and Summary of Significant Accounting Policies - Additional Information (Detail)
$ in Thousands, shares in Millions
12 Months Ended
Dec. 31, 2017
USD ($)
Customer
Reporting_Unit
shares
Dec. 31, 2016
USD ($)
Customer
shares
Dec. 31, 2015
shares
Jan. 01, 2017
USD ($)
Organization And Summary Of Significant Accounting Policies [Line Items]        
Cash and investments in marketable securities $ 353,220 $ 389,102    
Senior secured notes $ 250,000      
Senior secured notes, maturity date Oct. 05, 2020      
Number of customers accounted for major accounts receivable | Customer 4 3    
Percentage of accounts receivable customers one 43.00% 39.00%    
Percentage of accounts receivable customers two 20.00% 32.00%    
Percentage of accounts receivable customers three 19.00% 13.00%    
Percentage of accounts receivable customers four 14.00%      
Number of reporting unit evaluated for goodwill | Reporting_Unit 1      
Minimum percentage of amount realized upon ultimate settlement 50.00%      
ASC 606 [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Estimated adjustment to accumulated deficit accrued royalties $ 11,000      
Adoption of New Accounting Principles [Member] | Other Current Assets [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Impact of reclassification due to adoption of new accounting pronouncement       $ 300
Accumulated Deficit [Member] | Adoption of New Accounting Principles [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Impact of reclassification due to adoption of new accounting pronouncement       $ 200
Federal [Member] | Stock Option Windfall Deductions | Adoption of New Accounting Principles [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Impact of reclassification due to adoption of new accounting pronouncement   $ 20,600    
State [Member] | Stock Option Windfall Deductions | Adoption of New Accounting Principles [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Impact of reclassification due to adoption of new accounting pronouncement   $ 9,800    
Stock Options and Restricted Stock Units [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Weighted average diluted securities excluded from diluted net loss per share | shares 20.6 19.9 21.1  
Minimum [Member] | ASC 606 [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Estimated adjustment to decrease in accumulated deficit $ 11,000      
Maximum [Member] | ASC 606 [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Estimated adjustment to decrease in accumulated deficit 13,000      
Estimated adjustment to accumulated deficit unamortized portion of upfront payment amounts recognized $ 2,000      
Buildings [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Property and equipment estimated useful lives 20 years      
Manufacturing Laboratory and Other Equipment [Member] | Minimum [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Property and equipment estimated useful lives 3 years      
Manufacturing Laboratory and Other Equipment [Member] | Maximum [Member]        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Property and equipment estimated useful lives 10 years