Basic and Diluted Earnings Per Share - Additional Information (Details) - shares shares in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jan. 31, 2026 |
Jan. 31, 2025 |
Jan. 31, 2026 |
Jan. 31, 2025 |
|
| 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.6 | 0.6 | 0.7 |