Cash, Cash Equivalents, and Investments - Additional Information (Details) $ in Millions |
Jul. 31, 2024
USD ($)
security
|
Jan. 31, 2024
USD ($)
security
|
|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||
| Available-for-sale securities in an unrealized loss position | security | 84 | 70 |
| Securities in unrealized loss position | $ | $ 148.6 | $ 108.7 |
| Securities in a continuous net loss position for 12 months or longer | security | 23 | 33 |
| Securities in continuous unrealized loss position for more than 12 months | $ | $ (0.1) | $ 0.2 |