XML 100 R30.htm IDEA: XBRL DOCUMENT
v3.20.4

Investments (Tables) | 9 Months Ended
--- | ---
Jan. 30, 2021
Investments |
Schedule of investments | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | January 30, | ​ | April 30, | ​
​ |  | 2021 |  | 2020 |
Short-term investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Available-for-sale securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Municipal securities | ​ | ​ | 25,709 | ​ | ​ | 5,244 | ​
U.S. government securities | ​ | ​ | 13,019 | ​ | ​ | 33,771 | ​
Corporate bonds | ​ | ​ | 9,771 | ​ | ​ | 8,492 | ​
Total short-term investments | ​ | $ | 48,499 | ​ | $ | 47,507 | ​
Long-term investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Available-for-sale securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Municipal securities | ​ | ​ | 989 | ​ | ​ | 1,592 | ​
U.S. government securities | ​ | ​ | 4,003 | ​ | ​ | 8,996 | ​
Total available-for-sale investments | ​ |  | 4,992 | ​ |  | 10,588 | ​
Equity method investments | ​ | ​ | ​ | ​ | ​ | ​ | ​
Investment in limited partnership fund | ​ |  | 6,230 | ​ |  | 4,442 | ​
Total equity method investments | ​ |  | 6,230 | ​ |  | 4,442 | ​
Total long-term investments | ​ | $ | 11,222 | ​ | $ | 15,030 | ​
Schedule of activity related to available-for-sale investments recorded in short-term and long-term investments | The following table is a summary of the activity related to the available-for-sale investments recorded in short-term and long-term investments as of January 30, 2021 and April 30, 2020, respectively (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | January 30, 2021
​ |  | ​ | ​ |  | Gross |  | Gross |  | ​ | ​
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair
​ | ​ | Cost | ​ | Gains | ​ | Losses | ​ | Value
Municipal securities | ​ | $ | 26,691 | ​ | $ | 12 | ​ | $ | (5) | ​ | $ | 26,698
U.S. government securities | ​ | ​ | 17,017 | ​ | ​ | 5 | ​ | ​ | — | ​ | ​ | 17,022
Corporate bonds | ​ | ​ | 9,771 | ​ | ​ | 1 | ​ | ​ | (1) | ​ | ​ | 9,771
Total available-for-sale investments | ​ | $ | 53,479 | ​ | $ | 18 | ​ | $ | (6) | ​ | $ | 53,491
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | April 30, 2020 | ​
​ | ​ | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​ | ​
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair |
​ | ​ | Cost |  | Gains | ​ | Losses |  | Value |
Municipal securities |  | $ | 6,807 | ​ | $ | 29 | ​ | $ | — | ​ | $ | 6,836 | ​
U.S. government securities | ​ |  | 42,730 | ​ | ​ | 41 | ​ | ​ | (4) | ​ | ​ | 42,767 | ​
Corporate bonds | ​ |  | 8,495 | ​ | ​ | — | ​ | ​ | (3) | ​ | ​ | 8,492 | ​
Total available-for-sale investments |  | $ | 58,032 |  | $ | 70 | ​ | $ | (7) |  | $ | 58,095 | ​
Schedule of amortized cost and fair value of the available-for-sale debt securities by contractual maturity | The amortized cost and fair value of the available-for-sale debt securities by contractual maturity at January 30, 2021 were as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Cost |  | Fair Value |
Due within one year | ​ | $ | 48,494 | ​ | $ | 48,499 | ​
Due after one year through five years | ​ |  | 4,985 | ​ |  | 4,992 | ​
Total | ​ | $ | 53,479 | ​ | $ | 53,491 | ​

X
- Definition Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=120269885&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of the summary of investment holdings. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B) -URI http://asc.fasb.org/extlink&oid=120401592&loc=d3e611197-123010 + Details
Name: | us-gaap_SummaryInvestmentHoldingsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration