| Income Taxes - Additional Information (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|---|
| Sep. 30, 2019 | Sep. 30, 2018 | Sep. 30, 2019 | Sep. 30, 2018 | Dec. 31, 2017 | |
| Income Tax Disclosure [Abstract] | |||||
| Provisions for income tax expense/(benefit) | $ 33 | $ (14) | $ 784 | $ 667 | |
| Corporate tax rate | 21.00% | 35.00% | |||
| Gross amount of unrecognized tax benefits | 5,985 | $ 5,985 | |||
| Unrecognized tax benefits that would reduce effective tax rate | $ 735 | $ 735 | |||
| X | ||||||||||
| 
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| 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 unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 |