v3.26.1
Net Income (Loss) per Share - Calculation of Basic and Diluted Net Income (Loss) per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Numerator:      
Net income (loss) $ 81,235 $ 4,707 $ (31,331)
Denominator:      
Weighted-average shares of common stock used in computing basic net income (loss) per share 57,177 56,477 54,917
Weighted average effect of dilutive securities 986 1,823 0
Weighted average shares of common stock used in computing diluted net income (loss) per share 58,163 58,300 54,917
Net income (loss) per share:      
Basic $ 1.42 $ 0.08 $ (0.57)
Diluted [1] $ 1.4 $ 0.08 $ (0.57)
Securities excluded from weighted-average shares used in computing diluted net income (loss) per share because the effect would have been anti-dilutive [2] 2,460 426 4,453
[1] Diluted net loss per share for 2024 does not reflect any potential common stock relating to stock options, restricted stock units, or shares issuable related to the ESPP due to net loss incurred. The assumed issuance of any additional shares would be anti-dilutive.
[2] These weighted shares relate to anti-dilutive stock options, restricted stock units, and shares issuable related to the ESPP as calculated using the treasury stock method and could be dilutive in the future.