XML 118 R97.htm IDEA: XBRL DOCUMENT v3.3.1.900
Income taxes - Gross Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Balance as of January 1, $ 2,000 $ 1,200 $ 17,600
Additions based on tax positions related to the current year 1,800 1,100 700
Decreases due to lapse of applicable statute of limitations 0 (300) (2,800)
Settlements 0 0 (14,300)
Balance as of December 31, $ 3,800 $ 2,000 $ 1,200