XML 21 R5.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS) INCOME - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Statement Of Income And Comprehensive Income [Abstract]      
Net (loss) income $ (535,480) $ (7,524) $ 34,355
Other comprehensive (loss) income, net of applicable taxes:      
Foreign currency translation adjustment (3,658) 5,913 (11)
Unrealized (loss) gain on short-term investments 0 (147) 577
Total other comprehensive (loss) income (3,658) 5,766 566
Comprehensive (loss) income $ (539,138) $ (1,758) $ 34,921