XML 38 R22.htm IDEA: XBRL DOCUMENT v2.4.0.6
Income (loss) per share (Tables)
9 Months Ended
Sep. 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 September 30,
 
Nine months ended September 30,
 
2012
 
2011
 
2012
 
2011
Numerator:
 
 
 
 
 
 
 
Net income (loss)
$
1,737

 
$
(900
)
 
$
2,082

 
$
(2,242
)
Less: undistributed earnings attributable to participating securities
(9
)
 

 
(1,299
)
 

Net income (loss) attributable to common stockholders
1,728

 
(900
)
 
783

 
(2,242
)
Reallocation of undistributed earnings attributable to participating securities
1

 

 
26

 

Net income (loss) attributable to common stockholders for diluted net income (loss) per share
$
1,729


$
(900
)
 
$
809

 
$
(2,242
)
 
 
 
 
 
 
 
 
Denominator:
 
 
 
 
 
 
 
Weighted-average shares used to compute basic net income (loss) per common share
22,450

 
3,589

 
15,973

 
3,284

Effect of potentially dilutive securities:
 
 
 
 
 
 
 
Employee stock options and restricted stock units
2,818

 

 
2,688

 

Stock warrants
69

 

 
90

 

Weighted average shares used to compute diluted income (loss) per common share
25,337

 
3,589

 
18,751

 
3,284

Net income (loss) per share
 
 
 
 
 
 
 
   Net income (loss) per common share - basic
$
0.08

 
$
(0.25
)
 
$
0.05

 
$
(0.68
)
   Net income (loss) per common share - diluted
$
0.07

 
$
(0.25
)
 
$
0.04

 
$
(0.68
)
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 September 30,
 
Nine months ended September 30,
(in thousands)
2012
 
2011
 
2012
 
2011
Convertible preferred stock (on an if converted basis)

 
12,917

 

 
12,917

Options to purchase common stock
405

 
3,475

 
339

 
3,475

Common stock subject to repurchase

 
200

 

 
200

Warrants to purchase convertible preferred stock

 
213

 

 
213

Restricted stock units
1

 

 
27