Balance Sheet Components - Schedule of Allowance for Doubtful Accounts (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended |
|---|---|---|
Sep. 30, 2020 |
Sep. 30, 2020 |
|
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Balance, beginning of period | $ (27,521) | |
| Balance, end of period | $ (17,143) | (17,143) |
| Allowance for Doubtful Accounts | ||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Balance, beginning of period | (4,403) | (1,140) |
| Adjusted balance, beginning of period | (4,403) | (2,206) |
| Charged to revenue | (131) | (3,097) |
| Adjustments for recovery and write-off | 10 | 779 |
| Balance, end of period | $ (4,524) | (4,524) |
| Allowance for Doubtful Accounts | ASU 2016-13 | ||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Impact of adoption of ASU 2016-13 | $ (1,066) |