XML 83 R63.htm IDEA: XBRL DOCUMENT v3.8.0.1
INCOME TAXES (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Mar. 13, 2017
Income Tax Provision [Line Items]        
Domestic $ (39,898) $ (36,339) $ 3,760  
Foreign (2,573) (1,505) (1,640)  
Total income (loss) before income taxes (42,471) (37,844) 2,120  
Federal 0 11 92  
State 140 94 172  
Total income tax expense 140 105 264  
Income Tax Provision $ 100 $ 100 $ 300  
Reconciliation of income taxes at U.S. Federal statutory rate to the provision for income taxes        
U.S. federal statutory rate 35.00% 35.00% 35.00%  
State taxes 2.26% 2.20% 0.71%  
Foreign taxes (1.28%) (0.81%) 12.03%  
Change in valuation allowance 4.58% (43.96%) 10.32%  
Stock-based compensation (1.21%) (0.54%) 7.26%  
Tax credits 4.96% 8.77% (30.63%)  
Interest expense 2.90% 5.75% (37.57%)  
Effect of rate changes (130.88%) (4.65%) 0.00%  
Convertible senior notes refinancing 6.55% 0.00% 0.00%  
Effect of the adoption of ASU 2016-09 68.89% 0.00% 0.00%  
Other 7.90% (2.04%) 15.33%  
Effective tax rate (0.33%) (0.28%) 12.45%  
Deferred tax assets:        
Net operating loss carry-forwards $ 95,067 $ 96,163    
Federal and state credits 15,048 13,724    
Depreciation and amortization 2,593 2,604    
Accruals and reserves 2,743 4,672    
Deferred revenue 1,841 3,023    
Stock based compensation 16,925 21,890    
Inventory 552 9,811    
Other 139 52    
Total deferred tax assets 134,908 151,939    
Discount on convertible senior notes (14,678) (3,186)    
Net deferred tax assets, before valuation allowance 120,230 148,753    
Less: valuation allowance (120,230) (148,753)    
Net deferred tax assets 0 0    
Non-US Net Operating Loss $ 5,900      
Minimum Cumulative Percentage of Change in Ownership as Condition to Offset Taxable Income or Tax 50.00%      
Increase in valuation allowance for deferred tax assets $ (28,500) 16,600 $ 800  
Tax Cuts and Jobs Act of 2017, Change in Tax Rate, Income Tax Expense (Benefit) 55,700      
Unrecognized Tax Benefits $ 2,500 $ 0 $ 0  
United States Statutory Tax Rate 35.00% 35.00% 35.00%  
Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions $ 1,400      
Unrecognized Tax Benefits, Increase Resulting from Prior Period Tax Positions   $ 1,100    
Convertible Senior Notes Due 2022 [Member]        
Deferred tax assets:        
Debt Instrument, Convertible, Carrying Amount of Equity Component       $ 70,900
Federal        
Deferred tax assets:        
Net operating losses 380,500      
Net Operating Loss, Subject to Limitation 192,400      
Available Net Operating Loss, Subject to Limitation 134,800      
Future NOL's Which Will Become Available (2018-2022) 10,300      
Future NOL's Which Will Become Available (2015-Onward) 6,000      
State        
Deferred tax assets:        
Net operating losses 232,300      
Research Tax Credit Carryforward [Member] | Federal        
Deferred tax assets:        
Tax Credit Carryforward, Amount 10,300      
Research Tax Credit Carryforward [Member] | State        
Deferred tax assets:        
Tax Credit Carryforward, Amount $ 6,000