Condensed Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Condensed Consolidated Statements of Comprehensive Income (Loss)        
Net income $ 14,383 $ 18,675 $ 28,910 $ 29,199
Other comprehensive income (loss), net of tax        
Net unrealized income on available-for-sale securities   7   12
Net unrealized gain (loss) on foreign currency translation (8) (58) 4 (29)
Total other comprehensive income (loss), net of tax (8) (51) 4 (17)
Comprehensive income/(loss) $ 14,375 $ 18,624 $ 28,914 $ 29,182