Annual report pursuant to Section 13 and 15(d)

Income Taxes - Narrative (Details)

v3.8.0.1
Income Taxes - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Operating Loss Carryforwards [Line Items]      
Rate change for changes in tax law $ 32,429 $ 25 $ (5,756)
Valuation allowance, change in amount (8,400) $ 6,300 $ (231,700)
Unrecognized tax benefits that would impact effective tax rate 26,800    
Research Tax Credit Carryforward      
Operating Loss Carryforwards [Line Items]      
Tax credit carryforward 23,800    
California and New Jersey Research Tax Credit Carryforward      
Operating Loss Carryforwards [Line Items]      
Tax credit carryforward 20,700    
Internal Revenue Service (IRS)      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforward 387,900    
State and Local Jurisdiction      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforward $ 126,500