Stock-based Compensation (Tables)
6 Months Ended
Jun. 30, 2012
Stock-based Compensation [Abstract]  
Schedule of total stock-based compensation expense
                                 
    Three Months Ended
June 30,
    Six Months Ended
June 30,
 
    2011     2012     2011     2012  

Research and development

  $ 59     $ 120     $ 130     $ 227  

Sales and marketing

    41       99       90       173  

General and administrative

    86       206       188       583  
   

 

 

   

 

 

   

 

 

   

 

 

 

Total stock-based compensation expense

  $ 186     $ 425     $ 408     $ 983  
   

 

 

   

 

 

   

 

 

   

 

 

 
Summary of the status of options granted under all options
                         
    Number of
Stock
Options
    Weighted
Average
Exercise
Price
    Aggregate
Intrinsic Value (in
thousands)
 

Outstanding—December 31, 2011

    5,082,776     $ 2.14          

Granted

    873,225       7.19          

Exercised

    (1,327,966     0.48          

Forfeited

    (118,892     3.23          
   

 

 

                 

Outstanding—June 30, 2012

    4,509,143       3.57     $ 45,678  
   

 

 

                 

Vested and expected to vest—June 30, 2012

    4,084,871       3.46     $ 41,829  
   

 

 

                 

Vested and exercisable—June 30, 2012

    2,270,319       2.01     $ 26,540  
   

 

 

                 
Summary of the option grants and assumptions used in the black-scholes option-pricing model to value the options
                                                 

Grant Date

  Options
Granted
    Weighted-
Average
Fair Value
    Expected
Life of
Options
(In years)
    Risk-Free
Interest
Rate
    Expected
Volatility
    Expected
Dividend
Yield
 

January 6, 2012

    238,000     $ 5.96       6.25       1.40     53     —  

April 15, 2012

    548,725     $ 7.10       6.25       1.61     61     —  

May 24, 2012

    86,500     $ 11.14       6.25       1.20     61     —