XML 99 R85.htm IDEA: XBRL DOCUMENT v3.19.1
Net Loss per Share - Schedule of Antidilutive Securities Excluded from the Computation of Diluted Net loss per share (Details) - shares
12 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2017
Redeemable convertible preferred stock (as converted)      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 0 19,534,014 25,856,309
Redeemable convertible preferred stock warrants (as converted)      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 0 22,592 54,604
Common stock warrants      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 0 90,143 122,043
Stock options to purchase common stock | Class A Common Stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 3,174,009 2,552,397 52,663
Stock options to purchase common stock | Class B Common Stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 7,691,386 9,612,572 10,777,310
Unvested restricted stock units | Class A Common Stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 1,447,642 0 0
Early exercised stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 126,447 236,675 79,394
Shares underlying the conversion spread in the convertible senior notes      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 227,982 0 0