Annual report pursuant to Section 13 and 15(d)

Financial Instruments - Financial Instruments and Balance Sheet Classification (Detail)

v3.22.2
Financial Instruments - Financial Instruments and Balance Sheet Classification (Detail) - USD ($)
$ in Thousands
Apr. 30, 2022
Apr. 30, 2021
Investment Holdings [Line Items]    
Cash and cash equivalents $ 978,070 $ 850,778
Marketable Securities, Current 57,244 63,667
Marketable securities, non-current 175,783 182,692
Other Accrued Liabilities (204) (12)
Fair Value 1,210,893 1,097,125
Fair Value, Inputs, Level 2    
Investment Holdings [Line Items]    
Cost 80,358 80,325
Unrealized Gains   1
Unrealized Losses (584) (27)
Fair Value 79,774 80,299
Cash and cash equivalents 15,489 9,499
Marketable Securities, Current 47,241 54,583
Marketable securities, non-current 17,044 16,217
Fair Value, Inputs, Level 2 | Commercial Paper    
Investment Holdings [Line Items]    
Cost 41,627 51,979
Unrealized Gains   1
Unrealized Losses (126) (7)
Fair Value 41,501 51,973
Cash and cash equivalents 15,489 9,499
Marketable Securities, Current 26,012 42,474
Fair Value, Inputs, Level 2 | Corporate Notes/Bonds    
Investment Holdings [Line Items]    
Cost 37,736 26,371
Unrealized Losses (450) (20)
Fair Value 37,286 26,351
Marketable Securities, Current 20,242 10,134
Marketable securities, non-current 17,044 16,217
Fair Value, Inputs, Level 2 | U.S. Treasury and Agency Securities    
Investment Holdings [Line Items]    
Cost 995 1,975
Unrealized Losses (8)  
Fair Value 987 1,975
Marketable Securities, Current 987 1,975
Fair Value, Inputs, Level 2 | Foreign Exchange Forward Contracts    
Investment Holdings [Line Items]    
Other Accrued Liabilities (204) (12)
Fair Value (204) (12)
Fair Value, Inputs, Level 1 | Mutual Funds    
Investment Holdings [Line Items]    
Marketable Securities, Current [1] 10,003 9,084
Marketable securities, non-current [1] 158,739 166,475
Fair Value [1] 168,742 175,559
Fair Value, Inputs, Level 1 | Equity Securities    
Investment Holdings [Line Items]    
Marketable Securities, Current 10,003 9,084
Marketable securities, non-current 158,739 166,475
Fair Value 168,742 175,559
Fair Value, Inputs, Level 1 | Cash    
Investment Holdings [Line Items]    
Cash and cash equivalents 874,490 752,737
Fair Value 874,490 752,737
Fair Value, Inputs, Level 1 | Money Market Funds    
Investment Holdings [Line Items]    
Cash and cash equivalents 88,091 88,542
Fair Value $ 88,091 $ 88,542
[1] These investments are held in trust for settlement of the Company’s vested obligations of $160.8 million and $157.3 million as of April 30, 2022 and 2021, respectively, under the ECAP (see Note 6 — Deferred Compensation and Retirement Plans). Unvested obligations under the deferred compensation plans totaled $24.0 million and $26.5 million as of April 30, 2022 and 2021, respectively. During fiscal 2022 and 2020, the fair value of the investments decreased; therefore, the Company recognized a loss of $12.0 million and $1.8 million, respectively, which was recorded in other (loss) income, net. During fiscal 2021, the fair value of the investments increased; therefore, the Company recognized income of $38.5 million which was recorded in other (loss) income, net.