Capital Stock - Schedule of Ordinary Shares Reserved for Future Issuance under Company's Equity Plans and Employee Stock Purchase Plan (Detail) - shares |
Jan. 31, 2022 |
Jan. 31, 2021 |
|---|---|---|
| Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||
| Shares reserved | 7,461,541 | 5,981,741 |
| ESPP [Member] | ||
| Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||
| Shares reserved | 2,624,704 | 2,299,143 |