XML 58 R48.htm IDEA: XBRL DOCUMENT v3.21.2
Certain Balance Sheet Components Summary of the Allowance for Doubtful Accounts (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Accounts Receivable, after Allowance for Credit Loss, Current [Abstract]        
Beginning balance $ 1,107 $ 2,102 $ 1,312 $ 3,064
Provision for (release of) doubtful accounts, net 2,164 (21) 2,122 318
Accounts written-off (440) (278) (582) (1,489)
Effect of change in exchange rates (33) 43 (54) (47)
Ending balance $ 2,798 $ 1,846 $ 2,798 $ 1,846