XML 52 R23.htm IDEA: XBRL DOCUMENT v2.4.0.6
Income (loss) per share (Tables)
6 Months Ended
Jun. 30, 2012
Earnings Per Share [Abstract]  
Schedule of the computation of basic and diluted net income (loss) per share
The following table sets forth the computation of basic and diluted net income (loss) per share (in thousands, except per share amounts):
 
Three months ended June 30,
 
Six months ended June 30,
 
2012
 
2011
 
2012
 
2011
Numerator:
 
 
 
 
 
 
 
Net income (loss)
$
1,181

 
$
(1,497
)
 
$
345

 
$
(1,342
)
Less: undistributed earnings allocated to preferred stockholders
(1,078
)
 

 
(345
)
 

Net income (loss) attributable to common stockholders
103

 
(1,497
)
 

 
(1,342
)
Denominator:
 
 
 
 
 
 
 
Weighted-average shares used to compute basic net income (loss) per common share
21,738

 
3,313

 
12,700

 
3,164

Effect of potentially dilutive securities:
 
 
 
 
 
 
 
Employee stock options
2,698

 

 
2,622

 

Stock warrants
84

 

 
99

 

Weighted average shares used to compute diluted income (loss) per common share
24,520

 
3,313

 
15,421

 
3,164

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

 
$
(0.45
)
 
$
0.00

 
$
(0.42
)
Schedule of antidilutive securities excluded from computation of earnings per share
The following securities were not included in the calculation of diluted shares outstanding as the effect would have been anti-dilutive:
 
Three months ended June 30,
Six months ended June 30,
(in thousands)
2012
 
2011
 
2012
 
2011
Convertible preferred stock (on an if converted basis)

 
12,916

 

 
12,916

Options to purchase common stock
127

 
3,311

 
306

 
3,311

Common stock subject to repurchase

 
284

 

 
284

Warrants to purchase convertible preferred stock

 
213

 

 
213

Restricted stock units
80

 

 
40