XML 45 R30.htm IDEA: XBRL DOCUMENT
v3.22.4

Credit Losses (Tables) | 9 Months Ended
--- | ---
Jan. 31, 2023
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 losses | 16,725 |
Write-offs | (10,116) |
Recoveries of amounts previously written off | 598 |
Foreign currency translation | 15 |
Balance at January 31, 2023 | $ | 43,606 |
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 Months |  | 12 Months or longer |  | Balance Sheet Classification
| Fair Value |  | Unrealized Losses |  | Fair Value |  | Unrealized Losses |  | Cash and Cash Equivalent |  | Marketable Securities, Current |  | Marketable Securities, Non- Current
| (in thousands)
Balance at January 31, 2023 |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial paper | $ | 13,567 |  |  | $ | 78 |  |  | $ | 2,648 |  |  | $ | 1 |  |  | $ | — |  |  | $ | 16,215 |  |  | $ | — |
Corporate notes/bonds | $ | 13,454 |  |  | $ | 211 |  |  | $ | 14,160 |  |  | $ | 278 |  |  | $ | — |  |  | $ | 20,311 |  |  | $ | 7,303 |
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 https://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 https://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 https://asc.fasb.org/extlink&oid=126970911&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 https://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