XML 62 R50.htm IDEA: XBRL DOCUMENT v3.22.4
Balance Sheet Components - Allowance for Credit Losses (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Allowance for doubtful accounts      
Beginning balance $ 2,429 $ 4,220 $ 2,919
Cumulative-effect adjustment upon adoption of ASU 2016-13 (1,942,635) (1,394,836)  
Provision for credit losses 1,770 (156) 1,354
Write-offs (369) (1,635) (457)
Total $ 3,830 $ 2,429 4,220
Cumulative effect adjustment | Adoption Adjustment      
Allowance for doubtful accounts      
Cumulative-effect adjustment upon adoption of ASU 2016-13     $ 404