XML 59 R44.htm IDEA: XBRL DOCUMENT v3.8.0.1
NET INCOME (LOSS) PER SHARE (Tables)
12 Months Ended
Dec. 31, 2017
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,
 
2017
 
2016
 
2015
 
Common Stock
 
Class A
 
Class B
 
Class A
 
Class B
Basic net income (loss) per share attributable to common stockholders:
 
 
 
 
 
 
 
 
 
Numerator:
 
 
 
 
 
 
 
 
 
Net income (loss)
$
152,858

 
$
(4,296
)
 
$
(374
)
 
$
(28,694
)
 
$
(4,206
)
Allocation of undistributed earnings
$
152,858

 
$
(4,296
)
 
$
(374
)
 
$
(28,694
)
 
$
(4,206
)
Denominator:
 
 
 
 
 
 
 
 
 
Weighted-average shares outstanding
81,602

 
70,997

 
6,189

 
65,135

 
9,548

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

 
$
(0.06
)
 
$
(0.06
)
 
$
(0.44
)
 
$
(0.44
)
 
Year Ended December 31,
 
2017
 
2016
 
2015
 
Common Stock
 
Class A
 
Class B
 
Class A
 
Class B
Diluted net income (loss) per share attributable to common stockholders:
 
 
 
 
 
 
 
 
 
Numerator:
 
 
 
 
 
 
 
 
 
Allocation of undistributed earnings for basic calculations
$
152,858

 
$
(4,296
)
 
$
(374
)
 
$
(28,694
)
 
$
(4,206
)
Reallocation of undistributed earnings as a result of conversion from Class B to Class A shares
—

 
(374
)
 
—

 
(4,206
)
 
—

Allocation of undistributed earnings
$
152,858

 
$
(4,670
)
 
$
(374
)
 
$
(32,900
)
 
$
(4,206
)
Denominator:
 
 
 
 
 
 
 
 
 
Number of shares used in basic calculation
81,602

 
70,997

 
6,189

 
65,135

 
9,548

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

 
6,189

 
—

 
9,548

 
—

Stock options
3,279

 
—

 
—

 
—

 
—

Restricted stock units
2,289

 
—

 
—

 
—

 
—

Number of shares used in diluted calculation
87,170

 
77,186

 
6,189

 
74,683

 
9,548

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

 
$
(0.06
)
 
$
(0.06
)
 
$
(0.44
)
 
$
(0.44
)
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,
 
2017
 
2016
 
2015
Stock options
1,659

 
2,082

 
8,206

Restricted stock units and awards
593

 
2,090

 
4,095

Contingently issuable shares
—

 
—

 
309