Net Income (Loss) per Share - Anti-dilutive Securities (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 10,054 | 14,098 |
| Shares subject to outstanding common stock awards | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 8,111 | 13,835 |
| Shares issuable pursuant to the ESPP | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 1,943 | 263 |