Balance Sheet Components - Allowance for Doubtful Accounts (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Allowance for doubtful accounts | |||
| Beginning balance | $ 1,788 | $ 2,000 | $ 1,890 |
| Provision for estimated bad debts | 1,141 | (41) | 143 |
| Write offs | (10) | (171) | (33) |
| Ending balance | $ 2,919 | $ 1,788 | $ 2,000 |
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|