v3.19.3
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Statement of Comprehensive Income [Abstract]        
Net income (loss) $ 29,397 $ 19,643 $ (15,494) $ (10,249)
Net foreign currency translation adjustments (2,812) (946) (2,285) (3,341)
Net unrealized gain (loss) on revaluation of intercompany loans 0 (296) 75 (89)
Net unrealized gain (loss) on marketable debt securities, net of tax 1,351 (647) 5,876 (1,597)
Total comprehensive income (loss) $ 27,936 $ 17,754 $ (11,828) $ (15,276)