Stockholders' Equity and Equity Incentive Plans - Schedule of Stock by Class Reserved for Future Issuance (Details) - shares |
Jan. 31, 2022 |
Jan. 31, 2021 |
|---|---|---|
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 80,832,845 | 68,708,474 |
| Stock options | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 6,195,205 | 9,239,504 |
| RSUs | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 5,546,366 | 4,510,730 |
| ESPP | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 1,784,687 | 724,883 |
| 2011 and 2019 Plan | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 56,620,720 | 44,584,783 |
| 2019 Employee Stock Purchase Plan | ESPP | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 10,685,867 | 9,648,574 |