v3.19.2
Net income (loss) per share attributable to common stockholders (Tables)
6 Months Ended
Jun. 30, 2019
Net income (loss) per share attributable to common stockholders  
Schedule of computation of basic and diluted net income (loss) per share attributable to common stockholders

                                                                                                                                                                                  

Three Months Ended

Six Months Ended

June 30, 

June 30, 

    

2019

    

2018

    

2019

    

2018

(in thousands)

Numerator:

Net income (loss) attributable to common stockholders, basic and diluted

$

216

$

2,115

$

(4,937)

$

(1,114)

Denominator:

Weighted average common stock, basic

 

44,041

 

41,961

43,786

41,645

Effect of dilutive stock options

191

472

Effect of dilutive RSUs

146

2,786

Weighted average common stock, diluted

44,378

45,219

43,786

41,645

Net income (loss) per share attributable to common stockholders:

Basic

$

0.00

$

0.05

$

(0.11)

$

(0.03)

Diluted

$

0.00

0.05

$

(0.11)

(0.03)