Net Loss Per Share |
16.Net Loss Per Share
Basic earnings per share is calculated by dividing net earnings by the weighted average number of common shares outstanding during the period. Dilutive earnings per share is calculated by dividing net earnings by the weighted average number of common shares used in the basic earnings per share calculation plus the dilutive effect of shares subject to repurchase, options, warrants and unvested restricted stock units.
The following table presents the calculation of net loss per share of basic and diluted (in thousands, except per share data):
|
|
Three Months Ended |
|
|
Six Months Ended |
|
|
|
December 31,
2018 |
|
|
December 31,
2017 |
|
|
December 31,
2018 |
|
|
December 31,
2017 |
|
Net loss |
|
$ |
7,199 |
|
|
$ |
(31,923 |
) |
|
$ |
(1,866 |
) |
|
$ |
(27,547 |
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted-average shares used in per share calculation - basic |
|
|
117,544 |
|
|
|
113,621 |
|
|
|
117,456 |
|
|
|
112,931 |
|
Effect of potentially dilutive shares: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Options to purchase common stock |
|
|
657 |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
Restricted stock units |
|
|
1,129 |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
Employee Stock Purchase Plan shares |
|
|
214 |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
Weighted-average shares used in per share calculation - diluted |
|
|
119,544 |
|
|
|
113,621 |
|
|
|
117,456 |
|
|
|
112,931 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income (loss) per share - basic |
|
$ |
0.06 |
|
|
$ |
(0.28 |
) |
|
$ |
(0.02 |
) |
|
$ |
(0.24 |
) |
Net income (loss) per share - diluted |
|
$ |
0.06 |
|
|
$ |
(0.28 |
) |
|
$ |
(0.02 |
) |
|
$ |
(0.24 |
) |
The following securities were excluded from the computation of net 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,
2018 |
|
|
December 31,
2017 |
|
|
December 31,
2018 |
|
|
December 31,
2017 |
|
Options to purchase common stock |
|
|
781 |
|
|
|
2,622 |
|
|
|
543 |
|
|
|
2,781 |
|
Restricted stock units |
|
|
6,341 |
|
|
|
7,950 |
|
|
|
1,369 |
|
|
|
7,162 |
|
Employee Stock Purchase Plan shares |
|
|
1,286 |
|
|
|
834 |
|
|
|
1,286 |
|
|
|
906 |
|
Total shares excluded |
|
|
8,408 |
|
|
|
11,406 |
|
|
|
3,198 |
|
|
|
10,849 |
|
|