v3.26.1
CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($)
$ in Thousands
Total
Common stock
Additional paid-in capital
Accumulated other comprehensive income (loss)
Accumulated deficit
Beginning balance (in shares) at Jun. 30, 2023   106,550,000      
Beginning balance at Jun. 30, 2023 $ 4,085,969 $ 2 $ 4,946,623 $ (4,488) $ (856,168)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Issuance of common stock upon exercise of stock options, warrants and release of restricted stock units, net of shares withheld and retired for tax (in shares)   2,754,000      
Issuance of common stock upon exercise of stock options, warrants and release of restricted stock units, net of shares withheld and retired for tax 13,002   13,002    
Issuance of common stock under the employee stock purchase plan (in shares)   225,000      
Issuance of common stock under the employee stock purchase plan 16,495   16,495    
Repurchase and retirement of common stock (in shares)   (2,883,000)      
Repurchase and retirement of common stock, including excise tax (211,902)       (211,902)
Unwind of capped calls 9,657   9,657    
Stock-based compensation 247,260   247,260    
Other comprehensive income (loss) 2,598     2,598  
Net income (loss) (28,878)       (28,878)
Ending balance (in shares) at Jun. 30, 2024   106,646,000      
Ending balance at Jun. 30, 2024 4,134,201 $ 2 5,233,037 (1,890) (1,096,948)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Issuance of common stock upon exercise of stock options, warrants and release of restricted stock units, net of shares withheld and retired for tax (in shares)   2,843,000      
Issuance of common stock upon exercise of stock options, warrants and release of restricted stock units, net of shares withheld and retired for tax 8,986   8,986    
Issuance of common stock under the employee stock purchase plan (in shares)   270,000      
Issuance of common stock under the employee stock purchase plan 11,553   11,553    
Repurchase and retirement of common stock (in shares)   (6,747,000)      
Repurchase and retirement of common stock, including excise tax (437,655)       (437,655)
Purchases of capped calls (92,960)   (92,960)    
Stock-based compensation 254,029   254,029    
Other comprehensive income (loss) 12,087     12,087  
Net income (loss) $ 23,799       23,799
Ending balance (in shares) at Jun. 30, 2025 103,012,000 103,012,000      
Ending balance at Jun. 30, 2025 $ 3,914,040 $ 2 5,414,645 10,197 (1,510,804)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Issuance of common stock upon exercise of stock options, warrants and release of restricted stock units, net of shares withheld and retired for tax (in shares)   2,407,000      
Issuance of common stock upon exercise of stock options, warrants and release of restricted stock units, net of shares withheld and retired for tax (52,671)   (52,671)    
Issuance of common stock under the employee stock purchase plan (in shares)   332,000      
Issuance of common stock under the employee stock purchase plan $ 11,921   11,921    
Repurchase and retirement of common stock (in shares) (13,688,000) (13,688,000)      
Repurchase and retirement of common stock, including excise tax $ (567,267)       (567,267)
Stock-based compensation 252,432   252,432    
Other comprehensive income (loss) (16,612)     (16,612)  
Net income (loss) $ (11,241)       (11,241)
Ending balance (in shares) at Jun. 30, 2026 92,063,000 92,063,000      
Ending balance at Jun. 30, 2026 $ 3,530,602 $ 2 $ 5,626,327 $ (6,415) $ (2,089,312)