Treasury Stock - Additional Information (Details) - USD ($) |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2026 |
Jul. 31, 2025 |
Dec. 05, 2024 |
|
| Equity Class Of Treasury Stock [Line Items] | |||||
| Stock repurchase program, total cost of shares repurchased | $ 0 | $ 1,594,000 | $ 1,541,000 | $ 1,594,000 | |
| Surrender of Shares by Employee | |||||
| Equity Class Of Treasury Stock [Line Items] | |||||
| Stock repurchase program, number of shares repurchased | 81,162 | 27,084 | |||
| December 5, 2024 Share Repurchase Program | |||||
| Equity Class Of Treasury Stock [Line Items] | |||||
| Stock repurchase program, number of shares authorized | $ 50,000,000 | ||||
| Stock repurchase program, total cost of shares repurchased | $ 1,500,000 | $ 1,600,000 | |||
| Stock repurchase program, number of shares repurchased | 61,000 | 100,000 | |||
| Stock repurchase program, average per share price of shares repurchased | $ 25.26 | $ 15.94 | |||
| Stock repurchase program, remaining authorized repurchase amount | $ 44,600,000 | $ 44,600,000 | |||
| X | ||||||||||
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. No definition available.
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|