XML 89 R36.htm IDEA: XBRL DOCUMENT v3.8.0.1
Summary of Significant Accounting Policies - Additional Information (Detail)
12 Months Ended
Dec. 31, 2017
USD ($)
Segment
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Jan. 01, 2015
USD ($)
Accounting Policy [Line Items]          
Number of operating segment | Segment 1        
Highly liquid investment maturity period three months or less        
Restricted time deposits $ 5,181,000 $ 6,217,000      
Cash and cash equivalents $ 673,658,000 173,782,000 $ 153,324,000 $ 165,455,000  
Long term Investments Maturity 12 months        
Short term investments Maturity 12 months        
Impairment of long-lived assets $ 0        
Increase in valuation allowance 30,500,000 12,300,000   $ 22,000,000  
New Revenue Standards [Member] | Revenue [Member]          
Accounting Policy [Line Items]          
Increase (reduction) in revenue 5,300,000 $ 3,600,000 $ (8,400,000)    
ASU 2016-09 [Member]          
Accounting Policy [Line Items]          
Retrospective increase in deferred tax assets for previously unrecognized excess tax benefits 19,500,000        
Increase in valuation allowance 19,500,000        
Net impact to accumulated deficit $ 0        
ASU 2014-09 [Member] | Accumulated Deficit [Member]          
Accounting Policy [Line Items]          
Increase in accumulative deficit         $ 35,200,000
Minimum [Member] | Computer Equipment [Member]          
Accounting Policy [Line Items]          
Property and equipment estimated useful life 3 years        
Minimum [Member] | Laboratory Equipment [Member]          
Accounting Policy [Line Items]          
Property and equipment estimated useful life 3 years        
Minimum [Member] | Furniture and Fixtures [Member]          
Accounting Policy [Line Items]          
Property and equipment estimated useful life 3 years        
Maximum [Member] | Computer Equipment [Member]          
Accounting Policy [Line Items]          
Property and equipment estimated useful life 5 years        
Maximum [Member] | Laboratory Equipment [Member]          
Accounting Policy [Line Items]          
Property and equipment estimated useful life 5 years        
Maximum [Member] | Furniture and Fixtures [Member]          
Accounting Policy [Line Items]          
Property and equipment estimated useful life 5 years        
Foreign subsidiaries [Member]          
Accounting Policy [Line Items]          
Cash and cash equivalents $ 32,300,000