v3.26.1
Net Income (Loss) Per Share
12 Months Ended
Jun. 30, 2026
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share

16. Net Income (Loss) Per Share

Basic net income (loss) per share is calculated by dividing net income (loss) by the weighted-average number of shares of common stock outstanding during the period. Diluted income (loss) per share is calculated by dividing net income (loss) by the weighted-average number of shares of common stock used in the basic net income (loss) per share calculation plus the dilutive effect of any shares subject to repurchase, options and unvested RSUs.

The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):

 

 

Year Ended

 

 

 

June 30, 2026

 

 

June 30, 2025

 

 

June 30, 2024

 

Net income (loss)

 

$

42,119

 

 

$

(7,467

)

 

$

(85,964

)

Weighted-average shares used in per share calculation – basic

 

 

132,752

 

 

 

132,331

 

 

 

129,288

 

Options to purchase common stock

 

 

203

 

 

 

 

 

 

 

Restricted stock units

 

 

1,850

 

 

 

 

 

 

 

Employee Stock Purchase Plan shares

 

 

165

 

 

 

 

 

 

 

Weighted-average shares used in per share calculation – diluted

 

 

134,970

 

 

 

132,331

 

 

 

129,288

 

 

 

 

 

 

 

 

 

 

 

Net income (loss) per share – basic and diluted

 

 

 

 

 

 

 

 

 

Net income (loss) per share – basic

 

$

0.32

 

 

$

(0.06

)

 

$

(0.66

)

Net income (loss) per share – diluted

 

$

0.31

 

 

$

(0.06

)

 

$

(0.66

)

Potentially dilutive shares of common stock from employee incentive plans are determined by applying the treasury stock method to the assumed exercise of outstanding stock options, the assumed vesting of outstanding RSUs, and the assumed issuance of common stock under the ESPP.

The following securities were excluded from the computation of net income (loss) per diluted share of common stock for the periods presented as their effect would have been anti-dilutive (in thousands):

 

 

 

 

 

 

Year Ended

 

 

 

 

 

 

 

June 30, 2026

 

 

June 30, 2025

 

 

June 30, 2024

 

Options to purchase common stock

 

 

 

 

 

 

841

 

 

 

1,126

 

Restricted stock units

 

 

 

18

 

 

 

5,419

 

 

 

5,946

 

Employee Stock Purchase Plan shares

 

 

 

162

 

 

 

216

 

 

 

193

 

Total shares excluded

 

 

 

180

 

 

 

6,476

 

 

 

7,265