XML 48 R33.htm IDEA: XBRL DOCUMENT
v3.22.2

Credit Losses (Tables) | 12 Months Ended
--- | ---
Apr. 30, 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 May 1, 2019 | $ | 21,582 |
Provision for credit losses |  | 14,644 |
Write-offs |  | (12,518 | )
Recoveries of amounts previously written off |  | 398 |
Foreign currency translation |  | (311 | )
Balance at April 30, 2020 |  | 23,795 |
Provision for credit losses |  | 15,763 |
Write-offs |  | (12,073 | )
Recoveries of amounts previously written off |  | 311 |
Foreign currency translation |  | 1,528 |
Balance at April 30, 2021 |  | 29,324 |
Provision for credit losses |  | 21,552 |
Write-offs |  | (14,052 | )
Recoveries of amounts previously written off |  | 702 |
Foreign currency translation |  | (1,142 | )
Balance at April 30, 2022 | $ | 36,384 |
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 as of April 30, 2022 and 2021, are as follows:
|  | Less Than 12 Months |  |  | 12 Months or longer |  |  | Balance Sheet Classification |
|  | Fair Value |  |  | Unrealized Losses |  |  | Fair Value |  |  | Unrealized Losses |  |  | Cash and Cash Equivalents |  |  | Marketable Securities, Current |  |  | Marketable Securities, Non-Current |
|  | (in thousands) |
Balance at April 30, 2021 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial paper |  | $ | 36,378 |  |  | $ | 7 |  |  | $ | — |  |  | $ | — |  |  | $ | 5,749 |  |  | $ | 30,629 |  |  | $ | — |
Corporate notes/bonds |  | $ | 26,351 |  |  | $ | 20 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 10,134 |  |  | $ | 16,217 |
Balance at April 30, 2022 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial paper |  | $ | 37,002 |  |  | $ | 125 |  |  | $ | 4,499 |  |  | $ | 1 |  |  | $ | 15,489 |  |  | $ | 26,012 |  |  | $ | — |
Corporate notes/bonds |  | $ | 32,186 |  |  | $ | 446 |  |  | $ | 3,800 |  |  | $ | 4 |  |  | $ | — |  |  | $ | 18,942 |  |  | $ | 17,044 |
U.S. Treasury and Agency Securities |  | $ | 987 |  |  | $ | 8 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 987 |  |  | $ | — |

X
- Definition Tabular disclosure of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CreditLossAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration