XML 79 R78.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Income taxes - Schedule of Components of Loss Before Income Taxes (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Income Tax Disclosure [Abstract]      
U.S. $ (649,172) $ (440,473) $ (266,236)
Foreign (140,981) (114,965) (69,197)
Loss before income taxes $ (790,153) $ (555,438) $ (335,433)