Condensed Consolidated Statements of Shareholders' Equity (Parenthetical) - $ / shares |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2025 |
Apr. 30, 2024 |
Oct. 31, 2025 |
Oct. 31, 2024 |
|
| Statement of Stockholders' Equity [Abstract] | ||||
| Dividends declared (in dollars per share) | $ 0.94 | $ 0.83 | $ 0.94 | $ 0.83 |