Supplemental financial statement information - Schedule of Components of Operating Lease Cost (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Oct. 31, 2023 |
Oct. 31, 2022 |
Oct. 31, 2023 |
Oct. 31, 2022 |
|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||||
| Operating lease expense | $ 2,323 | $ 2,855 | $ 7,289 | $ 8,568 |
| Sublease income | (813) | (568) | (1,795) | (1,614) |
| Net operating lease expense | $ 1,510 | $ 2,287 | $ 5,494 | $ 6,954 |