v3.23.3

Investments in Debt Securities | 12 Months Ended
--- | ---
Jun. 30, 2023
Investments in Debt and Equity Securities [Abstract] |
Investments in Debt Securities | 8. Investments in Debt Securities The Company did not hold any investments in debt securities at March 31, 2023. The components of investments in debt securities are as follows (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, | ​ | June 30,
​ | ​ | 2023 | ​ | 2022
Adjusted cost | ​ | $ | — | ​ | $ | 11,029
Gross unrealized losses | ​ | ​ | — | ​ | ​ | (184)
Fair value | ​ | $ | — | ​ | $ | 10,845
​ The fair value of available-for-sale debt securities, by contractual maturity was as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, | ​ | June 30,
Fiscal period ending: | ​ | 2023 | ​ | 2022
2023 | ​ | $ | — | ​ | $ | 8,054
2024 | ​ | ​ | — | ​ | ​ | 2,791
​ | ​ | $ | — | ​ | $ | 10,845
​ Amortization of premiums paid on the debt securities amounted to $67,000 and $312,000 for the years ended June 30, 2023 and 2022, respectively. ​ Realized losses on available-for-sale debt securities are as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​
​ | ​ | Years Ended June 30,
​ | ​ | 2023 | ​ | 2022
Proceeds from sale of debt securities | ​ | $ | 6,739 | ​ | $ | —
Cost of debt securities | ​ | ​ | 6,837 | ​ | ​ | —
Realized loss on sale of debt securities | ​ | $ | (98) | ​ | $ | —
​

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://www.xbrl.org/2003/role/disclosureRef -Topic 320 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//320/tableOfContent Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-10 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-6B Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-6B Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph (b) -Publisher SEC Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//946-320/tableOfContent Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 940 -SubTopic 320 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//940-320/tableOfContent Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//942-320/tableOfContent + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration