XML 33 R23.htm IDEA: XBRL DOCUMENT v3.21.4
Net Income (Loss) Per Share
6 Months Ended
Dec. 31, 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

 

 

Six Months Ended

 

 

 

December 31,

2021

 

 

December 31,

2020

 

 

December 31,

2021

 

 

December 31,

2020

 

Net income (loss)

 

$

13,341

 

 

$

(3,050

)

 

$

26,037

 

 

$

(11,862

)

Weighted-average shares used in per share calculation - basic

 

 

129,403

 

 

 

123,264

 

 

 

128,863

 

 

 

122,485

 

Options to purchase common stock

 

 

702

 

 

 

 

 

 

677

 

 

 

 

Restricted stock units

 

 

3,340

 

 

 

 

 

 

3,795

 

 

 

 

Employee Stock Purchase Plan shares

 

 

176

 

 

 

 

 

 

88

 

 

 

 

Weighted-average shares used in per share calculation - diluted

 

 

133,621

 

 

 

123,264

 

 

 

133,423

 

 

 

122,485

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net income (loss) per share - basic and diluted

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net income (loss) per share - basic

 

$

0.10

 

 

$

(0.02

)

 

$

0.20

 

 

$

(0.10

)

Net income (loss) per share - diluted

 

$

0.10

 

 

$

(0.02

)

 

$

0.20

 

 

$

(0.10

)

 

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

 

 

Six Months Ended

 

 

 

December 31,

2021

 

 

December 31,

2020

 

 

December 31,

2021

 

 

December 31,

2020

 

Options to purchase common stock

 

 

 

 

 

2,156

 

 

 

 

 

 

2,345

 

Restricted stock units

 

 

7

 

 

 

9,553

 

 

 

8

 

 

 

9,003

 

Employee Stock Purchase Plan shares

 

 

764

 

 

 

1,324

 

 

 

620

 

 

 

1,040

 

Total shares excluded

 

 

771

 

 

 

13,033

 

 

 

628

 

 

 

12,388