XML 109 R90.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income taxes - Gross Unrecognized Tax Positions (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Balance as of January 1, $ 6,400 $ 3,800 $ 2,000
Additions based on tax positions related to the current year 2,100 2,700 1,800
Decreases due to lapse of applicable statute of limitations (100) (100) 0
Settlements 0 0 0
Balance as of December 31, $ 8,400 $ 6,400 $ 3,800