CONSOLIDATED STATEMENTS OF STOCKHOLDERS’ EQUITY - USD ($)
$ in Thousands
Common Stock
Treasury Stock
Additional Paid-In Capital
Accumulated Deficit
Accumulated Other Comprehensive (Loss) Income
Total
Balance at Dec. 31, 2013 $ 2   $ 200,545 $ (102,084) $ 11 $ 98,474
Balance (in shares) at Dec. 31, 2013 22,785,104          
Increase (Decrease) in Stockholders' Equity            
Net income (loss)       8,156   8,156
Other comprehensive loss         (171) (171)
Excess tax benefit from exercise of options for common stock     91     91
Stock-based compensation     5,341     5,341
Issuance of common stock upon net exercise of common stock warrants (in shares) 7,763          
Issuance of common stock upon exercise of stock options     6,411     6,411
Issuance of common stock upon exercise of stock options (in shares) 1,512,514          
Balance at Dec. 31, 2014 $ 2   212,388 (93,928) (160) 118,302
Balance (in shares) at Dec. 31, 2014 24,305,381          
Increase (Decrease) in Stockholders' Equity            
Net income (loss)       (1,652)   (1,652)
Other comprehensive loss         (579) (579)
Stock-based compensation     7,034     7,034
Issuance of common stock upon exercise of stock options     1,360     1,360
Issuance of common stock upon exercise of stock options (in shares) 285,387          
Repurchase of common stock for treasury   $ (9,020)       $ (9,020)
Repurchase of common stock for treasury (in shares) (1,154,480) 1,154,480       1,154,480
Balance at Dec. 31, 2015 $ 2 $ (9,020) 220,782 (95,580) (739) $ 115,445
Balance (in shares) at Dec. 31, 2015 23,436,288 1,154,480        
Increase (Decrease) in Stockholders' Equity            
Net income (loss)       12,954   12,954
Other comprehensive loss         (125) (125)
Excess tax benefit from exercise of options for common stock     89     89
Stock-based compensation     8,324     8,324
Issuance of common stock upon exercise of stock options and vesting of restricted stock     3,437     3,437
Issuance of common stock upon exercise of stock options and vesting of restricted stock (in shares) 721,138          
Repurchase of common stock for treasury   $ (3,242)       $ (3,242)
Repurchase of common stock for treasury (in shares) (427,646) 427,646       427,646
Retirement of treasury stock   $ 12,262 (12,262)      
Retirement of treasury stock (in shares)   (1,582,126)        
Balance at Dec. 31, 2016 $ 2   $ 220,370 $ (82,626) $ (864) $ 136,882
Balance (in shares) at Dec. 31, 2016 23,729,780