v3.22.4
REVENUE - Schedule of revenue disaggregated by geographic area (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disaggregation of Revenue [Line Items]      
Total revenue $ 3,194,208 $ 7,839,444 $ 1,277,481
United States      
Disaggregation of Revenue [Line Items]      
Total revenue 2,684,425 6,339,270 966,153
Rest of the World      
Disaggregation of Revenue [Line Items]      
Total revenue $ 509,783 $ 1,500,174 $ 311,328