v3.22.0.1
ALLOWANCE FOR CREDIT LOSSES - Allowance For Credit Losses of Receivables From Users (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Contract with Customer, Receivable, Allowance for Credit Loss [Roll Forward]      
Beginning balance $ 34,092 $ 17,122 $ 6,013
Provision for credit losses 78,337 59,134 11,109
Write-offs (72,213) (42,164) 0
Ending balance $ 40,216 $ 34,092 $ 17,122