Balance Sheet Components - Schedule of Allowance for Doubtful Accounts (Details) $ in Thousands |
3 Months Ended |
|---|---|
|
Mar. 31, 2020
USD ($)
| |
| Movement in Valuation Allowances and Reserves [Roll Forward] | |
| Balance, beginning of period | $ (27,521) |
| Balance, end of period | (19,219) |
| Allowance for Doubtful Accounts | |
| Movement in Valuation Allowances and Reserves [Roll Forward] | |
| Balance, beginning of period | (1,140) |
| Adjusted balance, beginning of period | (2,206) |
| Charged to revenue | (3,788) |
| Adjustments for recovery and write-off | 1,035 |
| Balance, end of period | (4,959) |
| Allowance for Doubtful Accounts | ASU 2016-13 | |
| Movement in Valuation Allowances and Reserves [Roll Forward] | |
| Impact of adoption of ASU 2016-13 | $ (1,066) |