XML 35 R6.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Comprehensive Loss - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Statement Of Income And Comprehensive Income [Abstract]      
Net income (loss) $ (189,291) $ (76,970) $ (86,420)
Other comprehensive income (loss):      
Foreign currency translation adjustments (Note 2) (3,207) 331 771
Available-for-sale investments:      
Unrealized gain (loss) on investments, net of tax effect (545) 592 (7)
Other comprehensive income (loss), net of taxes (3,752) 923 764
Comprehensive income (loss) $ (193,043) $ (76,047) $ (85,656)