Provision for Income Taxes - Schedule of major components of deferred tax assets and liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2017 |
Dec. 31, 2016 |
---|---|---|
Deferred tax assets | ||
Net operating loss carryforwards | $ 245,442 | $ 167,961 |
Tax credit carryforwards | 31,575 | 21,111 |
Allowances and other | 15,293 | 27,729 |
Stock options | 20,162 | 32,986 |
Depreciation and amortization | 5,746 | 3,704 |
Total deferred tax assets | 318,218 | 253,491 |
Valuation allowance | (302,298) | (200,797) |
Total deferred tax assets, net of valuation allowance | 15,920 | 52,694 |
Deferred tax liabilities | ||
Convertible debt | (16,348) | (31,592) |
Depreciation and amortization | 0 | (22,360) |
Total deferred tax liabilities | (16,348) | (53,952) |
Net deferred tax liabilities | $ (428) | $ (1,258) |
X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from allowances and other. No definition available.
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from property, plant, and equipment. No definition available.
|
X | ||||||||||
- Definition Amount, before allocation of a valuation allowances, of deferred tax assets attributable to deductible tax credit carryforwards including, but not limited to, research, foreign, general business, alternative minimum tax, and other deductible tax credit carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from financing arrangements. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|