|6 Months Ended|
Dec. 31, 2022
|Long-Term Investments [Abstract]|
10. LONG-TERM INVESTMENTS
As of December 31, 2022, the Company had five investments in privately-held entities. The Company has determined that it is appropriate to account for four of these investments under the equity method of accounting, and the remaining investment under the cost method of accounting.
The following table shows the carrying value and ownership percentage of the Company's investment in each entity:
All of the Company's investees are accounted for using the equity method, with the exception of Company A, which is accounted for using the cost method.
The Company considers all of our equity method investees to be related parties. See Note 14 for a summary of the Company's aggregate balances and activity with these related party entities. Company A is a cost method investment, which is not a related party.