Capital Stock and Changes in Capital Accounts - Narrative (Details) - USD ($) $ in Thousands |
3 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Apr. 30, 2020 |
|
| Equity, Class of Treasury Stock [Line Items] | |||
| Total dividend | $ 18,167 | $ 18,985 | |
| Share Repurchase Program In 2020 | |||
| Equity, Class of Treasury Stock [Line Items] | |||
| Share repurchase program, authorized, amount | $ 200,000 | ||
| Share Repurchase Program In 2026 | |||
| Equity, Class of Treasury Stock [Line Items] | |||
| Share repurchase program, authorized, amount | $ 250,000 | ||
| Remaining amount authorized to be repurchased under the share repurchase program | $ 192,400 | ||