Net Income (Loss) Per Share
9 Months Ended
Sep. 30, 2012
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share
Net Income (Loss) Per Share
 
The following table sets forth the computation of basic and diluted net income (loss) per share of common stock: 
 
Three months ended
 
Nine months ended
 
September 30,
 
September 30,
 
2011
 
2012
 
2011
 
2012
Numerator:
 

 
 

 
 

 
 

Net income (loss)
$
(4,145
)
 
$
3,175

 
$
(12,098
)
 
$
1,427

Cumulative preferred stock dividends

 

 
(2,477
)
 

Net income (loss) attributable to common stockholders
$
(4,145
)
 
$
3,175

 
$
(14,575
)
 
$
1,427

Denominator:
 

 
 

 
 

 
 

Weighted average common shares outstanding
84,348

 
85,458

 
77,465

 
84,430

Weighted average unvested restricted stock awards
(414
)
 
(276
)
 
(464
)
 
(410
)
Weighted average common shares outstanding—basic
83,934

 
85,182

 
77,001

 
84,020

Dilutive effect of stock options, warrants and ESPP

 
3,569

 

 
2,875

Weighted average common shares outstanding—diluted
83,934

 
88,751

 
77,001

 
86,895

Net income (loss) per share—basic
$
(0.05
)
 
$
0.04

 
$
(0.19
)
 
$
0.02

Net income (loss) per share—diluted
$
(0.05
)
 
$
0.04

 
$
(0.19
)
 
$
0.02


 
As of each period end, the following common equivalent shares were excluded from the calculation of the Company’s diluted net income (loss) per share in for the period shown as their inclusion would have been antidilutive:
 
 
Three months ended
 
Nine months ended
 
September 30,
September 30,
 
2011
 
2012
 
2011
 
2012
Stock options
11,501

 
6,400

 
6,831

 
10,186

Unvested RSUs
2,234

 
1,198

 
1,812

 
1,559

Common Stock Warrants
375

 
375

 
375

 
375

ESPP shares
1,601

 
827

 
1,601

 
827