XML 96 R67.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Balance sheet components - Allowance for Doubtful Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Reversal of provision for bad debt, net $ 13 $ (61) $ (577)
Allowance for Doubtful Accounts      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning Balance (264) (626) (425)
Reversal of provision for bad debt, net 15 428 (577)
Write-offs, net of recoveries (5) (66) 376
Ending Balance $ (254) $ (264) $ (626)