XML 51 R37.htm IDEA: XBRL DOCUMENT v3.23.3
Basic and Diluted (Loss) Earnings Per Share - Additional Information (Detail) - shares
shares in Millions
3 Months Ended 6 Months Ended
Oct. 31, 2023
Oct. 31, 2022
Oct. 31, 2023
Oct. 31, 2022
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) 2.1 1.6 1.2 1.2