Description of Business and Summary of Significant Accounting Policies - Accounts Receivable and the Allowance for Doubtful Accounts Receivable (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|
| Accounts, Notes, Loans and Financing Receivable [Line Items] | |||
| Accounts receivable, after allowance for credit loss, current | $ 153,609 | $ 142,847 | |
| Allowance for doubtful accounts | 19,874 | 22,691 | |
| (Benefit) provision for doubtful accounts | (2,334) | 1,749 | $ 12,325 |
| Billed Revenues | |||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | |||
| Accounts receivable, after allowance for credit loss, current | 103,300 | 97,600 | |
| Unbilled Revenues | |||
| Accounts, Notes, Loans and Financing Receivable [Line Items] | |||
| Accounts receivable, after allowance for credit loss, current | $ 50,100 | $ 45,200 | |