XML 40 R31.htm IDEA: XBRL DOCUMENT v2.4.1.9
EARNINGS PER SHARE (Tables)
12 Months Ended
Dec. 31, 2014
Earnings Per Share [Abstract]  
Schedule of calculation of basic and diluted net income (loss) per share
 
Years Ended December 31,
 
2014
 
2013
 
2012
Numerator:
 
 
 
 
 
Net income
$
8,190

 
$
1,789

 
$
31,704

Less: Undistributed earnings allocated to participating securities
—

 
—

 
(22,668
)
Net income attributable to common stockholders, basic and diluted
$
8,190

 
$
1,789

 
$
9,036

Denominator:
 
 
 
 
 
Weighted-average shares used in computing basic net income per share attributable to common stockholders
82,908

 
76,744

 
24,847

Weighted-average effect of potentially dilutive shares:
 
 
 
 
 
Employee stock options
10,538

 
16,442

 
12,788

RSUs and ESPP
222

 
175

 
140

Diluted
93,668

 
93,361

 
37,775

Net income per share attributable to common stockholders:
 
 
 
 
 
Basic
$
0.10

 
$
0.02

 
$
0.36

Diluted
$
0.09

 
$
0.02

 
$
0.24

Summary of the outstanding redeemable convertible preferred stock, employee stock, employee stock options, RSUs and warrants excluded from the diluted per share calculation
The following table summarizes the weighted average outstanding stock awards that were excluded from the diluted per share calculation because to include them would have been anti-dilutive for the period (in thousands):
 
Years Ended December 31,
 
2014
 
2013
 
2012
Stock options
2,649

 
1,134

 
3,348

RSUs and ESPP
977

 
233

 
—

Total
3,626

 
1,367

 
3,348