XML 45 R29.htm IDEA: XBRL DOCUMENT
v3.21.2

Credit Losses (Tables) | 3 Months Ended
--- | ---
Jul. 31, 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, 2021 |  | $ | 29,324 |
Provision for credit losses |  |  | 4,599 |
Write-offs |  |  | (2,121 | )
Recoveries of amounts previously written off |  |  | 382 |
Foreign currency translation |  |  | (145 | )
Balance at July 31, 2021 |  | $ | 32,039 |
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 |
Balance at July 31, 2021 |  | Fair Value |  |  | Unrealized Loss |  |  | Marketable Securities, Current |  | Marketable Securities, Non- Current |
|  | (in thousands) |
Commercial paper |  | $ | 21,879 |  |  | $ | 6 |  |  | $ | 21,879 |  | $ | — |
Corporate notes/bonds |  | $ | 31,082 |  |  | $ | 19 |  |  | $ | 17,087 |  | $ | 13,995 |
|  | Less Than 12 Months |  |  | Balance Sheet Classification |
Balance at April 30, 2021 |  | Fair Value |  |  | Unrealized Loss |  |  | Cash and Cash Equivalent |  | Marketable Securities, Current |  | Marketable Securities, Non- Current |
|  | (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=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