XML 21 R6.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Statement of Comprehensive Income [Abstract]      
Net (loss) $ (345,582) $ (63,040) $ (61,373)
Other comprehensive (loss) income, net of tax      
Unrealized (loss) gain on available-for-sale securities (169) 640 46
Foreign currency translation adjustments (15,913) (4,680) 10,234
Total other comprehensive (loss) income, net of tax (16,082) (4,040) 10,280
Comprehensive (loss) $ (361,664) $ (67,080) $ (51,093)