XML 54 R39.htm IDEA: XBRL DOCUMENT
v3.22.2

Investments (Tables) | 12 Months Ended
--- | ---
Apr. 30, 2022
Investments |
Schedule of investments | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | April 30,
​ |  | 2022 |  | 2021
Short-term investments: | ​ | ​ | ​ | ​ | ​ | ​
Available-for-sale securities: | ​ | ​ | ​ | ​ | ​ | ​
Municipal securities | ​ | ​ | 19,725 | ​ | ​ | 22,245
U.S. government securities | ​ | ​ | 4,991 | ​ | ​ | 4,009
Corporate bonds | ​ | ​ | — | ​ | ​ | 5,717
Total short-term investments | ​ | $ | 24,716 | ​ | $ | 31,971
Long-term investments: | ​ | ​ | ​ | ​ | ​ | ​
Available-for-sale securities: | ​ | ​ | ​ | ​ | ​ | ​
Municipal securities | ​ | ​ | — | ​ | ​ | 988
U.S. government securities | ​ | ​ | — | ​ | ​ | 4,000
Total long-term available-for-sale investments | ​ |  | — | ​ |  | 4,988
Equity method investments | ​ | ​ | ​ | ​ | ​ | ​
Investment in limited partnership fund | ​ |  | 15,433 | ​ |  | 7,168
Total equity method investments | ​ |  | 15,433 | ​ |  | 7,168
Total long-term investments | ​ | $ | 15,433 | ​ | $ | 12,156
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 April 30, (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | April 30, 2022 | ​ | April 30, 2021 | ​
​ |  | ​ | ​ |  | Gross |  | Gross |  | ​ | ​ |  | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​ |
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair | ​
​ | ​ | Cost | ​ | Gains | ​ | Losses | ​ | Value | ​ | Cost |  | Gains | ​ | Losses |  | Value | ​
Municipal securities | ​ | $ | 19,756 | ​ | $ | — | ​ | $ | (31) | ​ | $ | 19,725 | ​ | $ | 23,227 | ​ | $ | 8 | ​ | $ | (2) | ​ | $ | 23,233 | ​
U.S. government securities | ​ | ​ | 4,995 | ​ | ​ | — | ​ | ​ | (4) | ​ | ​ | 4,991 | ​ | ​ | 8,008 | ​ | ​ | 1 | ​ | ​ | — | ​ | ​ | 8,009 | ​
Corporate bonds | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 5,718 | ​ | ​ | — | ​ | ​ | (1) | ​ | ​ | 5,717 | ​
Total available-for-sale investments | ​ | $ | 24,751 | ​ | $ | — | ​ | $ | (35) | ​ | $ | 24,716 | ​ | $ | 36,953 | ​ | $ | 9 | ​ | $ | (3) | ​ | $ | 36,959 | ​
Schedule of amortized cost, gross unrealized gains, gross unrealized losses, and estimated fair value of available-for-sale investments | The amortized cost and fair value of the Company’s available-for-sale securities by contractual maturity at April 30, 2022, are as follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Cost |  | Fair Value |
Due within one year | ​ | $ | 24,751 | ​ | $ | 24,716 | ​
Due after one year through five years | ​ |  | — | ​ |  | — | ​
Total | ​ | $ | 24,751 | ​ | $ | 24,716 | ​

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 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types: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 reconciliation of available-for-sale securities from cost basis to fair value. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
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=122147990&loc=d3e611197-123010 + Details
Name: | us-gaap_SummaryInvestmentHoldingsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration