Consolidated Statements of Comprehensive Income (Loss) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2013
Dec. 31, 2012
Dec. 31, 2011
Statement Of Income And Comprehensive Income [Abstract]      
Net income (loss) $ (7,682) $ 3,566 $ 5,761
Other comprehensive (loss) gain:      
Net unrealized (losses) gains on marketable securities, net of tax (25) 57 (33)
Net translation (losses) gains (761) 1,100 (1,323)
Total other comprehensive (loss) gain (786) 1,157 (1,356)
Comprehensive income (loss) $ (8,468) $ 4,723 $ 4,405