XML 55 R43.htm IDEA: XBRL DOCUMENT v3.5.0.2
Income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
Income Tax Disclosure [Abstract]        
Income tax expense (benefit) $ (848) $ (2,161) $ (3,237) $ 12,205