Employee benefits (Details) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2025 |
Jan. 31, 2024 |
Jan. 31, 2023 |
|
| Defined Contribution Plan Disclosure [Line Items] | |||
| Maximum coverage per incident under self-insurance | $ 600,000 | ||
| Accrued Compensation | |||
| Defined Contribution Plan Disclosure [Line Items] | |||
| Liability for self-insured medical claims | $ 5,200,000 | $ 4,700,000 | |
| Supplemental Employee Retirement Plan | 401(k) | |||
| Defined Contribution Plan Disclosure [Line Items] | |||
| Percent of employees eligible earnings (as a percent) | 3.50% | ||
| Employer matching contribution expense | $ 8,400,000 | $ 8,700,000 | $ 8,000,000.0 |