CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS        
Net income (loss) $ 1,777 $ 1,191 $ 8,940 $ (999)
Other comprehensive income (loss):        
Foreign currency translation adjustment, net of tax 172 (547) 197 (793)
Net unrealized gains (losses) on available-for-sale investments, net of tax (10) 37 60 65
Total other comprehensive income (loss) 162 (510) 257 (728)
Comprehensive income (loss) $ 1,939 $ 681 $ 9,197 $ (1,727)