XML 85 R73.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income taxes - Loss from operations before tax (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Income Tax Disclosure [Abstract]      
Domestic $ (54,588) $ (61,446) $ (50,944)
Foreign (23,077) (80,095) (119,018)
Total $ (77,665) $ (141,541) $ (169,962)