XML 24 R12.htm IDEA: XBRL DOCUMENT v3.7.0.1
Earnings Per Share
6 Months Ended
Jun. 30, 2017
Earnings Per Share [Abstract]  
Earnings Per Share
EARNINGS PER SHARE
The following table sets forth the computation of basic and diluted net income (loss) per share (in thousands, except per share data):
 
Three Months Ended
 
Six Months Ended
 
June 30,
 
June 30,
 
2017
 
2016
 
2017
 
2016
Net income (loss)
$
1,264

 
$
(1,560
)
 
$
4,085

 
$
(10,202
)
Weighted average shares outstanding - basic
29,766

 
28,167

 
29,526

 
28,051

Dilutive effect of employee equity incentive plans
2,208

 

 
2,075

 

Diluted weighted average shares outstanding
31,974

 
28,167

 
31,601

 
28,051

 
 
 
 
 
 
 
 
Net income (loss) per share:
 
 
 
 
 
 
 
Basic
$
0.04

 
$
(0.06
)
 
$
0.14

 
$
(0.36
)
Diluted
$
0.04

 
$
(0.06
)
 
$
0.13

 
$
(0.36
)


The following weighted average shares were excluded from the calculation of diluted net income (loss) per share as their effect would have been anti-dilutive (in thousands, except per share data): 
 
Three Months Ended
 
Six Months Ended
 
June 30,
 
June 30,
 
2017
 
2016
 
2017
 
2016
Employee equity incentive plans
271

 
4,587

 
7

 
4,486


Potentially dilutive common shares from employee equity incentive plans are determined by applying the treasury stock method to the assumed exercise of outstanding stock options, the assumed vesting of outstanding restricted stock units, and the assumed issuance of common stock under the employee stock purchase plan.