CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Unaudited) (PARENTHETICAL) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Statement of Comprehensive Income [Abstract] | ||||
| Net unrealized gain/(loss) on investments, tax provision/(benefit) | $ 14 | $ 0 | $ 15 | $ (10) |
| Amortization of prior service cost, tax provision | 6 | 4 | 12 | 7 |
| Accumulated other comprehensive income/(loss) before reclassification, tax provision/(benefit) | 42 | (86) | 48 | (310) |
| Amounts reclassified from accumulated other comprehensive income, tax provision | $ (35) | $ 138 | $ (35) | $ 151 |