XML 27 R37.htm IDEA: XBRL DOCUMENT v3.20.1
Net Loss per Share Attributable to Common Stockholders (Tables)
12 Months Ended
Jan. 31, 2020
Earnings Per Share [Abstract]  
Calculation of basic and diluted loss per share
The following table presents the calculation of basic and diluted net loss per share attributable to common stockholders for periods presented:
Year Ended January 31,
(in thousands, except per share data)202020192018
Numerator:
Net loss$(208,359) $(426,458) $(52,276) 
Less: preferred stock accretion—  (353) (1,461) 
Net loss attributable to common stockholders$(208,359) $(426,811) $(53,737) 
Denominator:
Weighted-average common shares outstanding176,704  135,163  32,294  
Net loss per share attributable to common stockholders:
Basic and diluted$(1.18) $(3.16) $(1.66) 
Antidilutive securities
Outstanding potentially dilutive securities that were excluded from the diluted per share calculations because they would have been antidilutive are as follows:
January 31,
(in thousands)202020192018
RSUs13,555  16,568  —  
Stock options6,882  13,648  19,832  
ESPP274  295  —  
Convertible senior notes788  —  —  
Convertible preferred stock as-converted—  —  100,350  
Warrants to purchase convertible preferred stock—  —  22  
Warrants to purchase common stock—  —  18  
Total antidilutive securities21,499  30,511  120,222