Consolidated Statements of Equity (USD $)
In Thousands, except Share data
Total
Common Stock [Member]
Additional Paid-In Capital [Member]
(Accumulated Deficit) Retained Earnings [Member]
Accumulated Other Comprehensive Loss [Member]
Treasury Stock [Member]
Balance at Dec. 31, 2010 $ 130,379 $ 239 $ 133,425 $ (3,084) $ (201)  
Balance, shares at Dec. 31, 2010   23,858,514        
Issuance of common stock upon exercise of stock options 6,207 7 6,200      
Issuance of common stock upon exercise of stock options, shares   693,127        
Income tax benefit from stock options exercises 5,887   5,887      
Stock-based compensation 8,928   8,928      
Net income (loss) 5,761     5,761    
Unrealized loss on available-for-sale securities (33)       (33)  
Cumulative translation adjustments (1,323)       (1,323)  
Balance at Dec. 31, 2011 155,806 246 154,440 2,677 (1,557)  
Balance, shares at Dec. 31, 2011   24,551,641        
Issuance of common stock upon exercise of stock options 2,681 2 2,679      
Issuance of common stock upon exercise of stock options, shares   262,366        
Income tax benefit from stock options exercises 6,635   6,635      
Stock-based compensation 14,792   14,792      
Net income (loss) 3,566     3,566    
Unrealized loss on available-for-sale securities 57       57  
Cumulative translation adjustments 1,100       1,100  
Balance at Dec. 31, 2012 184,637 248 178,546 6,243 (400)  
Balance, shares at Dec. 31, 2012   24,814,007        
Issuance of common stock upon exercise of stock options 3,798 4 3,794      
Issuance of common stock upon exercise of stock options, shares 374,000 373,761        
Net issuance of common stock upon vesting of restricted stock units (1,834) 2 (1,836)      
Net issuance of common stock upon vesting of restricted stock units, Shares   184,076,000        
Income tax benefit from stock options exercises 17   17      
Stock-based compensation 19,714   19,714      
Treasury stock (30,525)         (30,525)
Treasury stock, Shares   (1,268,643)        
Net income (loss) (7,682)     (7,682)    
Unrealized loss on available-for-sale securities (25)       (25)  
Cumulative translation adjustments (761)       (761)  
Balance at Dec. 31, 2013 $ 167,339 $ 254 $ 200,235 $ (1,439) $ (1,186) $ (30,525)
Balance, shares at Dec. 31, 2013   24,103,201