Leases - Other Information (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2019 |
Mar. 31, 2018 |
|
| Leases | ||
| Options to extend leases | true | |
| Operating lease cost | $ 1,100 | $ 800 |
| Cash paid for amounts included in the measurement of lease liabilities | ||
| Operating cash flows from operating leases | 1,274 | |
| Right-of-use assets obtained in exchange for new operating lease liabilities | $ 1,088 | |
| Weighted-average remaining lease term - operating leases | 3 years 2 months 12 days | |
| Weighted-average discount rate - operating leases | 5.80% | |
| Minimum | ||
| Leases | ||
| Renewal term of the lease | 3 years | |
| Maximum | ||
| Leases | ||
| Renewal term of the lease | 5 years | |