XML 60 R45.htm IDEA: XBRL DOCUMENT v3.10.0.1
NET INCOME (LOSS) PER SHARE (Tables)
12 Months Ended
Dec. 31, 2018
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):
 
Year Ended December 31,
 
2018
 
2017
2016
 
Common Stock
 
Common Stock
 
Class A
 
Class B
Basic net income (loss) per share attributable to common stockholders:
 
 
 
 
 
 
 
Numerator:
 
 
 
 
 
 
 
Net income (loss)
$
55,350

 
$
152,995

 
$
(1,574
)
 
$
(137
)
Allocation of undistributed earnings
$
55,350

 
$
152,995

 
$
(1,574
)
 
$
(137
)
Denominator:
 
 
 
 
 
 
 
Weighted-average shares outstanding
83,573

 
81,602

 
70,997

 
6,189

Basic net income (loss) per share attributable to common stockholders:
$
0.66

 
$
1.87

 
$
(0.02
)
 
$
(0.02
)
 
Year Ended December 31,
 
2018
 
2017
2016
 
Common Stock
 
Common Stock
 
Class A
 
Class B
Diluted net income (loss) per share attributable to common stockholders:
 
 
 
 
 
 
 
Numerator:
 
 
 
 
 
 
 
Allocation of undistributed earnings for basic calculations
$
55,350

 
$
152,995

 
$
(1,574
)
 
$
(137
)
Reallocation of undistributed earnings as a result of conversion from Class B to Class A shares

 

 
(137
)
 

Allocation of undistributed earnings
$
55,350

 
$
152,995

 
$
(1,711
)
 
$
(137
)
Denominator:
 
 
 
 
 
 
 
Number of shares used in basic calculation
83,573

 
81,602

 
70,997

 
6,189

Weighted-average effect of dilutive securities
 
 
 
 
 
 
 
Conversion of Class B to Class A common shares outstanding

 

 
6,189

 

Stock options
2,984

 
3,279

 

 

Restricted stock units
2,137

 
2,289

 

 

Employee stock purchase program
15

 

 

 

Number of shares used in diluted calculation
88,709

 
87,170

 
77,186

 
6,189

Diluted net income (loss) per share attributable to common stockholders
$
0.62

 
$
1.76

 
$
(0.02
)
 
$
(0.02
)
Schedule of Anti-dilutive Securities
The following weighted-average stock-based instruments were excluded from the calculation of diluted net income (loss) per share because their effect would have been anti-dilutive for the periods presented (in thousands):
 
Year Ended December 31,
 
2018
 
2017
 
2016
Stock options
2,030

 
1,659

 
2,082

Restricted stock units and awards
373

 
593

 
2,090