The Company and Its Significant Accounting Policies (Tables)
12 Months Ended
Dec. 31, 2014
Accounting Policies [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
Common stock equivalents, determined on a weighted-average, that could potentially reduce net earnings per common share in the future that were not included in the determination of diluted earnings (loss) per common share as their effects were antidilutive are as follows (in thousands):
 
Years ended December 31,
 
2014
 
2013
 
2012
Shares underlying Convertible Senior Notes
28,088

 
28,088

 
8,014

Options to purchase common stock
13,108

 
13,789

 
11,131

Restricted stock units not yet vested and released
2,038

 
1,654

 
825

Restricted stock awards issued, but unvested
34

 
17

 
9

Options to purchase shares under the Employee Stock Purchase Plan
158

 
172

 
114

Warrants to purchase common stock
250

 
250

 
250

Total
43,676

 
43,970

 
20,343