v3.22.2.2

Investments in Debt Securities (Tables) | 12 Months Ended
--- | ---
Jun. 30, 2022
Investments in Debt Securities [Abstract] |
Schedule of components of 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
Schedule of fair value of available-for-sale debt securities, by contractual maturity | 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
​

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
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