XML 28 R18.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings Per Share (Tables)
9 Months Ended
Sep. 30, 2017
Earnings Per Share [Abstract]  
Reconciliations of Numerators and Denominators of Basic and Diluted Earnings (Loss) Per Share Computations

The reconciliations of the numerators and denominators of the basic and diluted earnings (loss) per share computations are as follows (in thousands, except per share amounts):

 

 

 

Three Months Ended

 

 

Nine Months Ended

 

 

 

September 30,

 

 

September 30,

 

 

 

2017

 

 

2016

 

 

2017

 

 

2016

 

Earnings (loss) per share—basic:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Numerator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net income

 

$

10,229

 

 

$

3,644

 

 

$

33,987

 

 

$

10,202

 

Less: Income attributable to convertible preferred stock

 

 

 

 

 

(2,672

)

 

 

 

 

 

 

Less: Premium on repurchase of convertible preferred

   stock

 

 

 

 

 

 

 

 

 

 

 

(47,209

)

Net income (loss) attributable to common

   stockholders—basic

 

$

10,229

 

 

$

972

 

 

$

33,987

 

 

$

(37,007

)

Denominator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average shares outstanding

 

 

40,700

 

 

 

12,629

 

 

 

39,977

 

 

 

11,461

 

Earnings (loss) per share—basic

 

$

0.25

 

 

$

0.08

 

 

$

0.85

 

 

$

(3.23

)

Earnings (loss) per share—diluted:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Numerator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net income (loss) attributable to common

   stockholders—diluted

 

$

10,229

 

 

$

972

 

 

$

33,987

 

 

$

(37,007

)

Denominator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average shares outstanding

 

 

40,700

 

 

 

12,629

 

 

 

39,977

 

 

 

11,461

 

Options to purchase common stock

 

 

3,078

 

 

 

4,430

 

 

 

3,593

 

 

 

 

Employee stock purchase plan shares

 

 

322

 

 

 

5

 

 

 

250

 

 

 

 

Restricted stock

 

 

145

 

 

 

 

 

 

99

 

 

 

 

Weighted-average shares outstanding—diluted

 

 

44,245

 

 

 

17,064

 

 

 

43,919

 

 

 

11,461

 

Earnings (loss) per share—diluted

 

$

0.23

 

 

$

0.06

 

 

$

0.77

 

 

$

(3.23

)