XML 65 R10.htm IDEA: XBRL DOCUMENT v2.4.0.6
Income (loss) per share
6 Months Ended
Jun. 30, 2012
Earnings Per Share [Abstract]  
Income (loss) per share
Income (loss) per share
Basic and diluted net income (loss) per common share is presented in conformity with the two-class method required for participating securities. Holders of Series A through Series F preferred stock were each entitled to receive non-cumulative dividends at the annual rate of 8% per share per annum, respectively, payable prior and in preference to any dividends on any shares of the Company’s common stock. In the event a dividend is paid on common stock, the holders of preferred stock were entitled to a proportionate share of any such dividend as if they were holders of common stock (on an as-if converted basis). The holders of the preferred stock do not have a contractual obligation to share in the losses of the Company. The Company considered its preferred stock to be participating securities. Additionally, the Company considers shares issued upon the early exercise of options subject to repurchase and unvested restricted shares to be participating securities as the holders of these shares have a non-forfeitable right to dividends. In accordance with the two-class method, earnings allocated to these participating securities and the related number of outstanding shares of the participating securities, which include contractual participation rights in undistributed earnings, have been excluded from the computation of basic and diluted net income (loss) per common share.
Under the two-class method, net income (loss) attributable to common stockholders is determined by allocating undistributed earnings, calculated as net income less income attributable to participating securities between common stock and participating securities. In computing diluted net income (loss) attributable to common stockholders, undistributed earnings are re-allocated to reflect the potential impact of dilutive securities. Basic net income (loss) per common share is computed by dividing the net income (loss) attributable to common stockholders by the weighted-average number of common shares outstanding during the period. All participating securities are excluded from basic weighted-average common shares outstanding. Diluted net income per share attributable to common stockholders is computed by dividing the net income attributable to common stockholders by the weighted-average number of common shares outstanding, including potential dilutive common shares assuming the dilutive effect of outstanding stock options using the treasury stock method.
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
)

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