Note 10 - Earnings Per Share
12 Months Ended
Dec. 31, 2014
Earnings Per Share [Abstract]  
Earnings Per Share [Text Block]

10. Earnings Per Share


The following shows the computation of basic and diluted earnings per share:


   

Year Ended December 31,

 
   

2014

   

2013

   

2012

 
Numerator                        

Net loss

  $ (22,608 )   $ (13,178 )   $ (20,691 )
                         

Denominator

                       

Weighted average common stock

    32,707,868       29,495,856       28,391,528  

Less weighted average unvested common stock subject to repurchase and unvested restricted stock award

          (2,851 )     (12,848 )

Weighted average common stock—basic and diluted

    32,707,868       29,493,005       28,378,680  
                         

Earnings per share

                       

Basic

  $ (0.69 )   $ (0.45 )   $ (0.73 )

Diluted

  $ (0.69 )   $ (0.45 )   $ (0.73 )

The following securities were not included in the computation of diluted earnings per share as inclusion would have been anti-dilutive:


   

Year Ended December 31,

 
   

2014

   

2013

   

2012

 

Common stock options

    3,350,112       4,373,642       4,797,873  

Warrant to purchase redeemable convertible preferred stock

          1,696       2,142  

Unvested restricted stock award and restricted stock unit

    3,705,415       3,030,202       1,608,464  
      7,055,527       7,405,540       6,408,479