XML 67 R51.htm IDEA: XBRL DOCUMENT v3.23.2
Summary of Significant Accounting Policies - Consolidated Statement of Redeemable Convertible Preferred Stock and Stockholders’ Equity (Deficit) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Increase (Decrease) in Stockholders' Equity [Roll Forward]        
Stock-based compensation - additional paid-in capital $ 531,817 $ 445,525 $ 306,506  
Foreign currency translation adjustments (8,143) (5,900) 7,046  
Net loss - accumulated deficit (985,345) (707,417) (441,027)  
Total stockholders’ equity $ 2,534,183 $ 2,618,255 2,575,527 $ (367,096)
As Previously Reported        
Increase (Decrease) in Stockholders' Equity [Roll Forward]        
Stock-based compensation - additional paid-in capital     302,032  
Foreign currency translation adjustments     7,042  
Net loss - accumulated deficit     (430,923)  
Total stockholders’ equity     2,581,153  
Adjustments        
Increase (Decrease) in Stockholders' Equity [Roll Forward]        
Stock-based compensation - additional paid-in capital     4,474  
Foreign currency translation adjustments     4  
Net loss - accumulated deficit     (10,104)  
Total stockholders’ equity     $ (5,626)