XML 28 R13.htm IDEA: XBRL DOCUMENT
v3.22.2

Investments | 12 Months Ended
--- | ---
Apr. 30, 2022
Investments |
Investments | 3. Investments ​ Investments consist of the following: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | 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
​ Available-For-Sale Securities ​ As of April 30, 2022 and 2021, the balance of available-for-sale securities consisted of state and local government municipal securities, U.S. government securities, U.S. government agency securities, and investment grade corporate bonds. Interest earned from these investments is recorded in interest (expense) income. Realized gains on sales of these investments on the basis of specific identification is recorded in interest (expense) income. ​ 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 | ​
​ 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
- 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 The entire disclosure for investments in certain debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2209399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2324412 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2176304 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph (b) + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration