Net Loss Per Share (Tables)
3 Months Ended
Apr. 30, 2019
Earnings Per Share [Abstract]  
Calculation of Basic and Diluted Net Loss Per Share
The following table presents the calculation of basic and diluted net loss per share (in thousands, except per share data):
 
Three Months Ended
April 30,
 
2019
 
2018
Numerator:
 
 
 
Net loss
$
(12,064
)
 
$
(6,579
)
Denominator:
 
 
 
Weighted-average shares used in calculating net loss per share, basic and diluted
32,510

 
20,878

Net loss per share, basic and diluted
$
(0.37
)
 
$
(0.32
)

Schedule of Anti-dilutive Securities That Were Not Included in Diluted Per Share Calculations Potentially dilutive securities that were not included in the diluted per share calculations because they would be anti-dilutive were as follows (in thousands):
 
As of April 30,
 
2019
 
2018
Redeemable convertible preferred stock

 
36,001

Shares subject to outstanding common stock options
16,529

 
12,387

Unvested early exercised stock options
273

 
211

Warrants to purchase common stock

 
204

Early exercised stock options in exchange for note receivable

 
250

Restricted stock awards purchased with promissory notes
472

 
629

Total
17,274

 
49,682