XML 55 R44.htm IDEA: XBRL DOCUMENT v3.23.1
The Company and Its Significant Accounting Policies - Short-term investments (Details) - USD ($)
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Accounting Policies [Abstract]      
Other-than-temporary impairment on short-term investments $ 0 $ 0 $ 0