v3.22.2.2

Investments in Debt Securities | 12 Months Ended
--- | ---
Jun. 30, 2022
Investments in Debt Securities [Abstract] |
Investments in Debt Securities | 8. Investments in Debt Securities Investments in debt securities consist of AA and A rated corporate bonds bearing interest at rates from 0.25% to 3.5% with maturities from August 2022 to February 2024. The components of investments in debt securities are as follows (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, | ​ | June 30,
​ | ​ | 2022 | ​ | 2021
Adjusted cost | ​ | $ | 11,029 | ​ | $ | 19,603
Gross unrealized losses | ​ | ​ | (184) | ​ | ​ | (33)
Fair value | ​ | $ | 10,845 | ​ | $ | 19,570
​ The fair value of available-for-sale debt securities, by contractual maturity was as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, | ​ | June 30
Fiscal period ending: | ​ | 2022 | ​ | 2021
2023 | ​ | $ | 8,054 | ​ | $ | 11,430
2024 | ​ | ​ | 2,791 | ​ | ​ | 8,140
​ | ​ | $ | 10,845 | ​ | $ | 19,570
​ Amortization of premiums paid on the debt securities amounted to $312,000 and $216,000 for the years ended June 30, 2022 and 2021, respectively.

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 https://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 https://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 https://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 https://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