v3.19.3.a.u2
Income Taxes - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Aug. 31, 2019
Jan. 01, 2019
Income Taxes [Line Items]          
Income tax expense $ 393,000 $ 2,547,000 $ (18,342,000)    
Corporate income tax rate 21.00% 21.00% 34.00%    
Property and equipment   $ 203,000      
Change in net deferred tax assets before valuation allowance $ 1,811,249,000 1,501,830,000      
Net deferred tax liability $ 417,000 516,000      
Pre-Tax Act U.S. federal net operating loss carry-forwards beginning of expiration year 2031        
Pre-Tax Act U.S. state net operating loss carry-forwards beginning of expiration year 2026        
U.S. Federal research tax credits beginning of expiration year 2032        
Deferred tax assets, valuation allowance $ 1,811,666,000 1,502,346,000      
Gross unrecognized tax benefits, including related interest and penalties 286,805,000 252,068,000      
Net unrecognized tax benefits 286,605,000 251,808,000 $ 203,177,000    
Amount of tax benefit when gross unrecognized tax benefits realized $ 2,700,000        
Petition review decision period 90 days        
Other Liabilities          
Income Taxes [Line Items]          
Net unrecognized tax benefits $ 1,500,000 $ 2,700,000      
Convertible Notes          
Income Taxes [Line Items]          
Net deferred tax liability       $ 92,100,000  
ASU 2016-12          
Income Taxes [Line Items]          
Deferred tax assets for operating lease liabilities         $ 90,900,000
Deferred tax liability operating lease right of use assets         69,000,000.0
Deferred tax assets accrued expenses         14,400,000
Property and equipment         7,500,000
Change in net deferred tax assets before valuation allowance         $ 0
Federal          
Income Taxes [Line Items]          
Corporate income tax rate 21.00%        
Net operating loss carry-forwards $ 4,000,000,000.0        
Pre-Tax Act operating loss carry-forwards     $ 1,500,000,000    
Post-Tax Act operating loss carry-forwards $ 2,500,000,000        
Pre-Tax Act operating loss carry-forwards period     20 years    
Percentage of taxable income limitation 80.00%        
Federal | Research          
Income Taxes [Line Items]          
Accumulated research tax credits $ 225,200,000        
State          
Income Taxes [Line Items]          
Net operating loss carry-forwards 2,300,000,000        
State | Research          
Income Taxes [Line Items]          
Accumulated research tax credits 135,800,000        
U.K.          
Income Taxes [Line Items]          
Net operating loss carry-forwards $ 1,300,000,000