XML 21 R6.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Statement Of Income And Comprehensive Income [Abstract]        
Net income (loss) $ 49,798 $ 33,004 $ (155,945) $ (130,657)
Other comprehensive income (loss):        
Foreign currency translation adjustments 396 (2,038) 366 (3,372)
Available-for-sale investments:        
Unrealized gain (loss) on investments, net of tax effect 13 (657) (25) (137)
Other comprehensive income (loss), net of taxes 409 (2,695) 341 (3,509)
Comprehensive income (loss) $ 50,207 $ 30,309 $ (155,604) $ (134,166)