XML 61 R45.htm IDEA: XBRL DOCUMENT v3.20.4
Financial Instruments - Additional Information (Detail) - USD ($)
3 Months Ended 9 Months Ended 12 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2021
Jan. 31, 2020
Apr. 30, 2020
Financial Instrument [Line Items]          
Sale/maturities of available-for-sale marketable securities $ 16,300,000 $ 0 $ 44,700,000 $ 0  
Unrealized loss relates to equity securities         $ 8,200,000
Unrealized gains relates to equity securities     22,200,000    
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts          
Financial Instrument [Line Items]          
Foreign currency gains 1,700,000 $ 500,000 1,900,000 $ 1,000,000.0  
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Purchased          
Financial Instrument [Line Items]          
Derivative notional amount 74,500,000   74,500,000   91,200,000
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Sold          
Financial Instrument [Line Items]          
Derivative notional amount $ 47,400,000   $ 47,400,000   $ 41,800,000
Available-for-sale Marketable Securities | Minimum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     1 month    
Available-for-sale Marketable Securities | Maximum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     12 months