XML 57 R35.htm IDEA: XBRL DOCUMENT
v3.21.2

Credit Losses (Tables) | 12 Months Ended
--- | ---
Apr. 30, 2021
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, 2018 | $ | 17,845 |
Provision for credit losses |  | 14,260 |
Write-offs |  | (10,608 | )
Recoveries of amounts previously written off |  | 911 |
Foreign currency translation |  | (826 | )
Balance at April 30, 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 |
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 |  |  | Balance Sheet Classification |
|  | Fair Value |  |  | Unrealized Loss |  |  | Cash and Cash Equivalents |  |  | Marketable Securities, Current |  |  | Marketable Securities, Non-Current |
Balance at April 30, 2021 |  | (in thousands) |
Commercial paper |  | $ | 36,378 |  |  | $ | 7 |  |  | $ | 5,749 |  |  | $ | 30,629 |  |  | $ | — |
Corporate notes/bonds |  | $ | 26,350 |  |  | $ | 20 |  |  | $ | — |  |  | $ | 10,133 |  |  | $ | 16,217 |

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=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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=121645371&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=121582814&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration