Basic and Diluted Earnings Per Share - Additional Information (Details) - shares shares in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Oct. 31, 2025 |
Oct. 31, 2024 |
Oct. 31, 2025 |
Oct. 31, 2024 |
|
| Restricted Stock Awards | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Anti-dilutive securities excluded from computation of diluted earnings per share (in shares) | 0.6 | 0.7 | 0.6 | 0.7 |