XML 126 R65.htm IDEA: XBRL DOCUMENT v3.6.0.2
Income taxes - Schedule of Components of Loss Before Income Taxes (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Income Tax Disclosure [Abstract]      
U.S. $ (210,188) $ (162,287) $ (61,118)
Foreign (53,931) (4,436) 612
Loss before income taxes $ (264,119) $ (166,723) $ (60,506)