XML 57 R47.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 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Accounts Receivable, after Allowance for Credit Loss, Current [Abstract]        
Beginning balance $ 1,136 $ 3,046 $ 1,312 $ 3,064
Provision for (release of) doubtful accounts, net 25 (171) (42) 339
Accounts written-off (63) (796) (142) (1,211)
Effect of change in exchange rates 9 23 (21) (90)
Ending balance $ 1,107 $ 2,102 $ 1,107 $ 2,102