Results of Operations (Tables)
6 Months Ended
Jun. 30, 2012
Results of Operations [Abstract]  
Calculation of basic and diluted net loss per share

The following table presents the calculation of basic and diluted net 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 loss

  $ (5,140 )    $ (2,246 )    $ (10,317 )    $ (4,185 ) 
   

 

 

   

 

 

   

 

 

   

 

 

 

Denominator:

                               

Weighted average shares outstanding

    17,053       13,491       15,489       13,477  

Less: Weighted average shares subject to repurchase

    —         (3 )      —         (2 ) 
   

 

 

   

 

 

   

 

 

   

 

 

 

Denominator for basic and diluted net loss per share

    17,053       13,488       15,489       13,475  
   

 

 

   

 

 

   

 

 

   

 

 

 

Basic and diluted net loss per share

  $ (0.30 )    $ (0.17 )    $ (0.67 )    $ (0.31 ) 
   

 

 

   

 

 

   

 

 

   

 

 

 
Antidilutive Securities Excluded From Computation of Earnings Per Share

The following outstanding shares subject to options and warrants to purchase common stock and common stock subject to repurchase were antidilutive due to a net loss in the periods presented and, therefore, were excluded from dilutive securities computation for the six-month periods indicated below (in thousands):

 

                 
    June 30,  
    2012     2011  

Excluded potentially dilutive securities (1):

               

Shares subject to options to purchase common stock

    3,360       2,786  

Shares subject to warrants to purchase common stock

    156       156  

Common stock subject to repurchase

    —         1  
   

 

 

   

 

 

 

Total

    3,516       2,943  
   

 

 

   

 

 

 

(1) The number of shares is based on the maximum number of shares issuable on exercise of the related securities as of each period end. Such amounts have not been adjusted for the treasury stock method or weighted average outstanding calculations as required if the securities were dilutive.

Computation of total comprehensive loss

Total comprehensive loss for the three and six months ended June 30, 2012 and 2011 is as follows (in thousands):

 

                                 
    Three months ended
June 30,
    Six months ended
June 30,
 
    2012     2011     2012     2011  

Net loss

  $ (5,140 )    $ (2,246 )    $ (10,317 )    $ (4,185 ) 

Changes in unrealized gain (loss) on marketable securities

    (2 )      24       (31 )      39  
   

 

 

   

 

 

   

 

 

   

 

 

 

Comprehensive loss

  $ (5,142 )    $ (2,222 )    $ (10,348 )    $ (4,146 )