XML 34 R23.htm IDEA: XBRL DOCUMENT v3.21.2
Net Income (Loss) Per Share
3 Months Ended
Sep. 30, 2021
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. Dilutive income per share is calculated by dividing net income 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 shares subject to repurchase, options and unvested RSUs.

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

 

 

 

Three Months Ended

 

 

 

 

September 30,

2021

 

 

September 30,

2020

 

 

Net income (loss)

 

$

12,696

 

 

$

(8,812

)

 

Weighted-average shares used in per share calculation - basic

 

 

128,324

 

 

 

121,705

 

 

Options to purchase common stock

 

 

651

 

 

 

 

 

Restricted stock units

 

 

4,250

 

 

 

 

 

Employee Stock Purchase Plan shares

 

 

 

 

 

 

 

Weighted-average shares used in per share calculation - diluted

 

 

133,225

 

 

 

121,705

 

 

 

 

 

 

 

 

 

 

 

 

Net income (loss) per share - basic and diluted

 

 

 

 

 

 

 

 

 

Net income (loss) per share - basic

 

$

0.10

 

 

$

(0.07

)

 

Net income (loss) per share - diluted

 

$

0.10

 

 

$

(0.07

)

 

 

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):

 

 

 

Three Months Ended

 

 

 

September 30,

2021

 

 

September 30,

2020

 

Options to purchase common stock

 

 

 

 

 

2,864

 

Restricted stock units

 

 

1,441

 

 

 

8,877

 

Employee Stock Purchase Plan shares

 

 

514

 

 

 

750

 

Total shares excluded

 

 

1,955

 

 

 

12,491