| Income Taxes - Additional Information (Details) - USD ($) $ in Thousands | 3 Months Ended | |
|---|---|---|
| Mar. 31, 2019 | Mar. 31, 2018 | |
| Valuation Allowance [Line Items] | ||
| Income tax benefit | $ (6,462) | $ (1,864) | 
| Unrecognized Tax Benefits, Interest on Income Taxes Accrued | 700 | |
| Unrecognized Tax Benefits, Income Tax Penalties Accrued | $ 100 | |
| X | ||||||||||
| 
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of statutory penalties accrued for a tax position claimed or expected to be claimed by the entity, in its tax return. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of interest expense accrued for an underpayment of income taxes. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 |