Stockholders' Equity and Equity Incentive Plans - Schedule of Stock by Class Reserved for Future Issuance (Details) - shares |
Jan. 31, 2023 |
Jan. 31, 2022 |
|---|---|---|
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 92,819,161 | 80,832,845 |
| Stock options | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 4,800,616 | 6,195,205 |
| RSUs | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 21,868,533 | 5,546,366 |
| ESPP | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 2,851,856 | 1,784,687 |
| 2011 and 2019 Plan | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 51,367,359 | 56,620,720 |
| 2019 Employee Stock Purchase Plan | ESPP | ||
| Class of Stock [Line Items] | ||
| Number of shares available for future issuance (in shares) | 11,930,797 | 10,685,867 |