Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2023 |
Jul. 31, 2022 |
Jul. 31, 2023 |
Jul. 31, 2022 |
|
| Statement of Comprehensive Income [Abstract] | ||||
| Change in unrealized gain (losses) on cash flow hedges, tax provision | $ (523) | $ 0 | $ 1,554 | $ 0 |