XML 46 R32.htm IDEA: XBRL DOCUMENT v3.10.0.1
NET INCOME (LOSS) PER SHARE (Tables)
6 Months Ended
Jun. 30, 2018
Earnings Per Share [Abstract]  
Schedule of computation of basic and diluted loss per share
The following table sets forth the computation of basic and diluted net income (loss) per share for the three and six months ended June 30, 2018 and 2017 (in thousands, except per share amounts):
 
Three Months Ended 
 June 30,
 
Six Months Ended 
 June 30,
2018
 
2017
 
2018
 
2017
Numerator:
 
 
 
 
 
 
 
   Net income (loss)
$
2,564

 
$
(19,743
)
 
$
(8,116
)
 
$
(39,609
)
Denominator:
 
 
 
 
 
 
 
   Weighted average common shares outstanding
40,796

 
40,160

 
40,751

 
39,079

Computation of diluted securities:
 
 
 
 
 
 
 
   Dilutive effect of stock options
807

 

 

 

   Dilutive effect of RSUs
87

 

 

 

   Dilutive effect of ESPP purchase options
4

 

 

 

   Weighted average common shares outstanding—diluted
41,694

 
40,160

 
40,751

 
39,079

Net loss per share:
 
 
 
 
 
 
 
   Basic and diluted net income (loss) per common share
$
0.06

 
$
(0.49
)
 
$
(0.20
)
 
$
(1.01
)
Schedule of potential dilutive effect of the securities excluded from the calculation of diluted loss per share
The following outstanding stock options, RSUs, conversion premiums on the Company’s convertible senior notes and ESPP purchase options are antidilutive in the periods presented (in thousands):
 
Three Months Ended 
 June 30,
 
Six Months Ended 
 June 30,
 
2018
 
2017
 
2018
 
2017
Weighted average number of stock options
3,918

 
5,092

 
5,094

 
5,102

Weighted average number of RSUs
367

 
375

 
483

 
364

Conversion premium on the 2019 Notes

 
9

 

 
817

Weighted average ESPP purchase options
5

 
36

 
33

 
37

      Total
4,290

 
5,512

 
5,610

 
6,320