Leases - Information Related to Our Right-of-Use Assets and Lease Liabilities (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Jul. 31, 2023 |
Jul. 31, 2022 |
Jul. 31, 2023 |
Jul. 31, 2022 |
Jan. 31, 2023 |
|
| Leases [Abstract] | |||||
| Cash paid for operating lease liabilities | $ 25,399 | $ 19,538 | $ 53,809 | $ 45,196 | |
| Operating lease right-of-use assets obtained in exchange for new operating lease liabilities | $ 31,529 | $ 57,899 | $ 63,755 | $ 86,480 | |
| Weighted average remaining lease term (in years) | 5 years | 5 years | 5 years | ||
| Weighted average discount rate | 3.25% | 3.25% | 2.79% | ||