Notes Payable (Details) - USD ($) |
12 Months Ended | |||||
|---|---|---|---|---|---|---|
Apr. 09, 2021 |
Jun. 30, 2022 |
Jun. 30, 2021 |
Dec. 09, 2022 |
Jun. 09, 2022 |
May 20, 2020 |
|
| Notes Payable (Details) [Line Items] | ||||||
| Aggregate principle amount | $ 44,000,000 | |||||
| Maturity date | Jun. 15, 2027 | |||||
| Total debt discount and debt issuance costs | $ 3,300,000 | |||||
| Issuance date | 3,000,000 | |||||
| Debt issuance costs | 300,000 | |||||
| Contractual interest | 154,000 | |||||
| Debt discount amortization | 29,000 | $ 4,406,000 | ||||
| Principal amount | $ 1,600,000 | |||||
| Debt extinguishment gain | $ 1,600,000 | $ 1,624,000 | ||||
| Convertible Senior Notes [Member] | ||||||
| Notes Payable (Details) [Line Items] | ||||||
| Aggregate principle amount | $ 44,000,000 | |||||
| Interest rate percentage | 6.00% | 6.00% | ||||
| Debt instrument, redemption price, percentage | 100.00% | |||||
| Debt conversion price (in Dollars per share) | $ 4.71 | |||||
| Principal amount | $ 1,000 | |||||
| Weighted average price percentage | 95.00% | |||||
| Convertible notes redemption description | The Notes will become subject to the Company’s right to redeem as follows: (i) on or after June 9, 2023, up to one-third of the aggregate principal amount of the Notes initially issued; (ii) on or after June 9, 2024, up to two-thirds of the aggregate principal amount of the Notes initially issued; and (iii) on or after June 9, 2025, up to 100% of the aggregate principal amount of the Notes initially issued; provided, that at any time the Company exercises the redemption right, (1) the closing sale price per share of the Company’s common stock is greater than 150% of the then-effective conversion price for each of 20 consecutive days of the 30 consecutive trading day period immediately preceding the Company’s redemption notice and (2) a registration statement registering the resale of all shares of common stock into which the principal amount of the Notes is convertible and all shares of common stock issuable as interest or as Interest Make-Whole Payments upon conversion or redemption of any Notes is effective and a current prospectus related thereto remains available throughout the period from the date the redemption notice is delivered to the holders to and including the redemption date. | |||||
| Stock price percentage | 95.00% | |||||
| Fair value of components | $ 3,000,000 | |||||
| Convertible Senior Notes [Member] | Interest Make-Whole Payment [Member] | ||||||
| Notes Payable (Details) [Line Items] | ||||||
| Weighted average price percentage | 95.00% | |||||
| Convertible Senior Notes [Member] | Trustee [Member] | ||||||
| Notes Payable (Details) [Line Items] | ||||||
| Debt instrument, redemption price, percentage | 95.00% | |||||