XML 73 R57.htm IDEA: XBRL DOCUMENT v3.21.2
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Jul. 31, 2020
Oct. 31, 2021
Oct. 31, 2020
Income Tax Disclosure [Abstract]          
Income tax (benefit) provision $ 26,145 $ 12,877 $ (8,700) $ 50,024 $ 4,205
Income tax (benefit) provision tax rate 25.50% 31.40%   24.70% 294.50%
Pre-tax loss $ (102,477) $ (40,955) $ 39,500 $ (202,753) $ (1,428)