XML 55 R29.htm IDEA: XBRL DOCUMENT v3.22.2.2
Credit Losses (Tables)
6 Months Ended
Oct. 31, 2022
Credit Loss [Abstract]  
Summary of Activity in Allowance for Credit Losses on Trade Receivables
The activity in the allowance for credit losses on the Company's trade receivables is as follows:
(in thousands)
Balance at April 30, 2022$36,384 
Provision for credit losses11,018 
Write-offs(5,937)
Recoveries of amounts previously written off621 
Foreign currency translation(1,127)
Balance at October 31, 2022$40,959 
Schedule of Fair Value and Unrealized Losses on Available for Sale Debt Securities
The fair value and unrealized losses on available for sale debt securities, aggregated by investment category and the length of time the security has been in an unrealized loss position, are as follows:
Less Than 12 Months12 Months or longerBalance Sheet Classification
Fair ValueUnrealized LossesFair ValueUnrealized LossesCash and Cash
Equivalent
Marketable Securities,
Current
Marketable
Securities, Non-
Current
(in thousands)
Balance at October 31, 2022
Commercial paper$21,302 $211 $1,847 $$— $23,149 $— 
Corporate notes/bonds$21,771 $465 $14,925 $315 $— $26,761 $9,935 
U.S. Treasury and Agency Securities$990 $$— $— $— $990 $— 
Balance at April 30, 2022       
Commercial paper$37,002 $125 $4,499 $$15,489 $26,012 $— 
Corporate notes/bonds$32,186 $446 $3,800 $$— $18,942 $17,044 
U.S. Treasury and Agency Securities$987 $$— $— $— $987 $—