XML 43 R32.htm IDEA: XBRL DOCUMENT v3.19.2
Net Income (Loss) per Share (Tables)
6 Months Ended
Jun. 30, 2019
Earnings Per Share [Abstract]  
Schedule of Basic and Diluted Net Income Per Share Attributable to Common Stockholders

Basic and diluted net income (loss) per share attributable to common stockholders was calculated as follows:

 

 

 

Three Months Ended June 30,

 

 

Six Months Ended June 30,

 

 

 

2019

 

 

2018

 

 

2019

 

 

2018

 

Numerator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net income (loss) attributable to common

   stockholders, basic and diluted

 

$

1,291

 

 

$

21,417

 

 

$

(14,048

)

 

$

39,193

 

Denominator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average shares used to compute net

   income (loss) per share attributable to common

   stockholders, basic

 

 

83,884

 

 

 

83,257

 

 

 

83,605

 

 

 

82,447

 

Dilutive effect of stock options

 

 

2,455

 

 

 

10,333

 

 

 

 

 

 

11,023

 

Dilutive effect of restricted stock units

 

 

30

 

 

 

274

 

 

 

 

 

 

263

 

Weighted-average shares used to compute net

   income (loss) per share attributable to common

   stockholders, diluted

 

 

86,369

 

 

 

93,864

 

 

 

83,605

 

 

 

93,733

 

Net income (loss) per share attributable to common

   stockholders:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Basic

 

$

0.02

 

 

$

0.26

 

 

$

(0.17

)

 

$

0.48

 

Diluted

 

$

0.01

 

 

$

0.23

 

 

$

(0.17

)

 

$

0.42

 

Schedule of Potential Common Shares Excluded from the Computation of Diluted Net Income Per Share Attributable to Common Stockholders

The following potential common shares, presented based on amounts outstanding at each period end, were excluded from the computation of diluted net income (loss) per share attributable to common stockholders for the periods presented because including them would have been anti-dilutive:

 

 

 

Three Months Ended June 30,

 

 

Six Months Ended June 30,

 

 

 

2019

 

 

2018

 

 

2019

 

 

2018

 

Options to purchase common stock

 

 

4,212

 

 

 

512

 

 

 

8,649

 

 

 

512

 

Unvested restricted stock units

 

 

1,314

 

 

 

102

 

 

 

1,549

 

 

 

102