XML 74 R62.htm IDEA: XBRL DOCUMENT v3.10.0.1
Income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Income taxes        
Income tax (benefit) expense $ 1,614 $ 3,100 $ 2,400 $ (7,800)
Increase in unrecognized tax benefits     2,400  
Additions related to prior periods tax positions     $ 300