CONSOLIDATED STATEMENTS OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (USD $)
In Thousands, except Share data, unless otherwise specified
Total
Common Stock
Additional Paid-In Capital
Accumulated Deficit
Accumulated Other Comprehensive (Loss) Income
Balance at Dec. 31, 2010 $ (92,974)   $ 4,971 $ (97,979) $ 34
Balance (in shares) at Dec. 31, 2010   1,664,044      
Increase (Decrease) in Stockholders' Equity          
Net income (loss) (3,885)     (3,885)  
Other comprehensive income (loss) (10)       (10)
Issuance of common stock warrants 1,146   1,146    
Stock-based compensation 1,988   1,988    
Issuance of common stock upon exercise of stock options 1,204   1,204    
Issuance of common stock upon exercise of stock options (in shares)   577,437      
Issuance of common stock in exchange for services 25   25    
Issuance of common stock in exchange for services (in shares)   4,040      
Balance at Dec. 31, 2011 (92,506)   9,334 (101,864) 24
Balance (in shares) at Dec. 31, 2011   2,245,521      
Increase (Decrease) in Stockholders' Equity          
Net income (loss) (3,723)     (3,723)  
Other comprehensive income (loss) (28)       (28)
Stock-based compensation 2,869   2,869    
Issuance of common stock upon exercise of stock options 785   785    
Issuance of common stock upon exercise of stock options (in shares)   245,349      
Balance at Dec. 31, 2012 (92,603)   12,988 (105,587) (4)
Balance (in shares) at Dec. 31, 2012   2,490,870      
Increase (Decrease) in Stockholders' Equity          
Net income (loss) 3,503     3,503  
Other comprehensive income (loss) 15       15
Stock-based compensation 3,760   3,760    
Issuance of common stock options in connection with a business acquisition 174   174    
Conversion of redeemable convertible preferred stock into common stock 116,313 2 116,311    
Conversion of redeemable convertible preferred stock into common stock (in shares)   15,293,960      
Issuance of common stock, net of issuance costs 65,556   65,556    
Issuance of common stock, net of issuance costs (in shares)   4,600,000      
Issuance of common stock upon net exercise of common stock warrants (in shares)   293,232      
Reclassification of redeemable convertible preferred stock warrant liability upon conversion to preferred stock 1,310   1,310    
Issuance of common stock upon exercise of stock options 446   446    
Issuance of common stock upon exercise of stock options (in shares)   107,042      
Balance at Dec. 31, 2013 $ 98,474 $ 2 $ 200,545 $ (102,084) $ 11
Balance (in shares) at Dec. 31, 2013   22,785,104