XML 72 R56.htm IDEA: XBRL DOCUMENT v3.3.1.900
Income taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Income Tax Disclosure [Abstract]        
Undistributed Earnings of Foreign Subsidiaries $ 129,100      
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent 35.00% 35.00% 35.00%  
Operating Loss Carryforwards [Line Items]        
Unrecognized Tax Benefits $ 36,273 $ 16,558 $ 9,898 $ 4,439
Unrecognized tax benefits that would be recorded as reduction in income tax provision, if recognized 31,000      
Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued 200 $ 200 $ 0  
Domestic Tax Authority [Member]        
Operating Loss Carryforwards [Line Items]        
Operating Loss Carryforwards 395,500      
Tax Credit Carryforward, Amount 24,200      
State and Local Jurisdiction [Member]        
Operating Loss Carryforwards [Line Items]        
Operating Loss Carryforwards 249,200      
Tax Credit Carryforward, Amount 18,400      
Tax Credit Carryforward, Amount To Be Recorded to Additional Paid In Capital When Realized 3,900      
Research Tax Credit Carryforward [Member]        
Operating Loss Carryforwards [Line Items]        
Tax Adjustments, Settlements, and Unusual Provisions (13,700)      
New Accounting Pronouncement, Early Adoption, Effect [Member]        
Operating Loss Carryforwards [Line Items]        
Deferred tax asset reclassified from current to non-current $ 22,200