XML 106 R20.htm IDEA: XBRL DOCUMENT v3.20.1
Net Loss per Share Attributable to Common Stockholders
12 Months Ended
Jan. 31, 2020
Earnings Per Share [Abstract]  
Net Loss per Share Attributable to Common Stockholders Net Loss per Share Attributable to Common Stockholders
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) 

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  

The table above does not include 0.3 million, 0.6 million and 23.1 million RSUs outstanding as of January 31, 2020, 2019 and 2018 as these RSUs are subject to performance-based or market-based vesting conditions that were not considered to be met or probable of being met as of the end of the reporting period.