XML 51 R27.htm IDEA: XBRL DOCUMENT v3.6.0.2
Net income (loss) per share (Tables)
12 Months Ended
Dec. 31, 2016
Earnings Per Share [Abstract]  
Schedule of Net Income per Share, Basic and Diluted
The following table presents the calculations of basic and diluted net income (loss) per share:
 
Year ended December 31,
(in thousands, except per share data)
2016
 
2015
 
2014
 
 
 
 
 
 
Numerator:
 
 
 
 
 
Allocation of net income (loss)
$
(419,003
)
 
$
36,131

 
$
128,088

Less: net income allocable to participating securities

 

 
16,512

Net income (loss) attributable to common stockholders—basic
(419,003
)
 
36,131

 
111,576

Add: net income allocable to dilutive participating securities

 

 
2,277

Net income (loss) attributable to common stockholders—diluted
$
(419,003
)
 
$
36,131

 
$
113,853

 
 
 
 
 
 
Denominator:
 
 
 
 
 
Weighted-average common shares—basic for Class A and Class B common stock
139,425

 
134,595

 
104,453

Stock options, RSU's and ESPP shares

 
11,891

 
19,177

Weighted-average common shares—diluted for Class A and Class B common stock
139,425

 
146,486

 
123,630

 
 
 
 
 
 
Net income (loss) per share attributable to common stockholders:
 
 
 
 
 
Basic
$
(3.01
)
 
$
0.27

 
$
1.07

Diluted
$
(3.01
)
 
$
0.25

 
$
0.92

Schedule of Antidilutive Securities Excluded from Computation of Net Income per Share
The following potentially dilutive shares were not included in the calculation of diluted shares outstanding as the effect would have been anti-dilutive:
 
Year ended December 31,
(in thousands)
2016
 
2015
 
2014
Stock options, RSUs and ESPP shares
21,000

 
2,681

 
15,921