XML 76 R64.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Income taxes    
Income tax (benefit) expense $ 786 $ (10,900)
Increase in unrecognized tax benefits 1,300  
Additions related to prior periods tax positions $ 200