XML 46 R70.htm IDEA: XBRL DOCUMENT v3.20.1
Income taxes - Schedule of Domestic and Foreign Components of Loss before Provision for Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Jan. 31, 2018
Income Tax Disclosure [Abstract]      
Domestic $ (340,542) $ (191,479) $ (372,466)
Foreign 12,660 4,248 4,873
Loss before provision for income taxes $ (327,882) $ (187,231) $ (367,593)