Stockholders' Equity (Details - Share based compensation) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| DisclosureLineItems [Line Items] | ||
| Total share-based compensation | $ 6,270 | $ 6,132 |
| Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServicesSold | ||
| DisclosureLineItems [Line Items] | ||
| Total share-based compensation | 141 | 186 |
| Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense | ||
| DisclosureLineItems [Line Items] | ||
| Total share-based compensation | 896 | 1,522 |
| Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense | ||
| DisclosureLineItems [Line Items] | ||
| Total share-based compensation | $ 5,233 | $ 4,424 |