Summary of Significant Accounting Policies - Schedule of Allowance for Doubtful Accounts (Details) - Allowance for Doubtful Accounts - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2021 |
Jun. 30, 2020 |
Jun. 30, 2021 |
Jun. 30, 2020 |
|
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||||
| Beginning balance | $ (4,127) | $ (4,959) | $ (4,181) | $ (2,206) |
| Charged to revenue | 1,045 | 273 | 1,099 | (2,965) |
| Adjustments for recovery and write-off | 283 | 768 | ||
| Ending balance | (3,082) | (4,403) | (3,082) | (4,403) |
| Accounting Standards Update 2016-13 | ||||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||||
| Beginning balance | (1,066) | |||
| Prior to Adoption of ASU 2016-13 | ||||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||||
| Beginning balance | $ (4,127) | $ (4,959) | $ (4,181) | $ (1,140) |