Summary of Significant Accounting Policies - Schedule of Allowance for Doubtful Accounts (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2021 |
Mar. 31, 2020 |
|
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Beginning balance | $ (41,236) | |
| Ending balance | (28,256) | |
| Allowance for Doubtful Accounts | ||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Beginning balance | (4,181) | $ (1,140) |
| Adjusted balance, beginning of period | (4,181) | (2,206) |
| Charged to revenue | 54 | (3,788) |
| Adjustments for recovery and write-off | 1,035 | |
| Ending balance | $ (4,127) | (4,959) |
| Allowance for Doubtful Accounts | Accounting Standards Update 2016-13 | ||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Impact of adoption of ASU 2016-13 | $ (1,066) | |