v3.26.1
The Company and Significant Accounting Policies - Joint Venture Narrative (Details)
$ in Thousands, ¥ in Millions
1 Months Ended 12 Months Ended
Jul. 14, 2025
USD ($)
Dec. 30, 2024
USD ($)
Dec. 30, 2024
CNY (¥)
Jul. 01, 2023
Feb. 29, 2024
Jun. 30, 2026
USD ($)
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Jan. 15, 2025
Related Party Transaction [Line Items]                  
Proceeds from sale of equity interest in the JV Company           $ 147,652 $ 0 $ 0  
Equity method investment loss             $ 77,800 $ 4,800  
Corporate Joint Venture                  
Related Party Transaction [Line Items]                  
Joint venture cumulative percentage ownership after all transactions           18.90%      
Third Party Investors | Third Party Investors | Corporate Joint Venture                  
Related Party Transaction [Line Items]                  
Increase (Decrease) Equity Method Investment, Ownership Percentage         0.54%        
JV Company                  
Related Party Transaction [Line Items]                  
Equity method investment loss           $ 76,800      
JV Company | Scenario, Plan                  
Related Party Transaction [Line Items]                  
Proceeds from sale of equity interest in the JV Company $ 150,000 $ 68,500 ¥ 500            
Equity Method Investment, Percentage of Equity Ownership Sold 20.30% 7.09% 7.09%            
JV Company | Corporate Joint Venture                  
Related Party Transaction [Line Items]                  
Equity method investment ownership interest                 39.20%
Chongqing Funds | Facility in Liangjiang New Area of Chongqing (the 'Joint Venture')                  
Related Party Transaction [Line Items]                  
Joint venture cumulative percentage ownership after all transactions       42.20%