| Employee Benefit Plan (Details) $ in Thousands | 12 Months Ended | ||
|---|---|---|---|
| Dec. 31, 2018  USD ($)  Days | Dec. 31, 2017  USD ($) | Dec. 31, 2016  USD ($) | |
| Defined Benefit Plan Disclosure [Line Items] | |||
| Defined Contribution Plan minimum number of days of employee service required | Days | 90 | ||
| Defined Contribution Plan Minimum Hours of Service | 1,000 | ||
| Defined contribution plan, minimum age requirement | 21 | ||
| Defined contribution plan, minimum employee contribution of annual compensation | 2.00% | ||
| Defined contribution plan, maximum employee contribution of annual compensation | 80.00% | ||
| Defined contribution plan, employer match percentage | 25.00% | ||
| Defined contribution plan, maximum employee contribution matched by employer | 6.00% | ||
| Defined contribution plan, percentage at which employees vest annually in employer contributions | 20.00% | ||
| Defined Contribution Plan Minimum Years of Service Before Vesting Of Employer Contributions | 2 years | ||
| Defined Benefit Plan, Plan Assets, Contributions by Employer | $ | $ 1,713 | $ 1,441 | $ 1,056 | 
| X | ||||||||||
| 
- Definition Percentage of employee contributions that employer will match up to defined limit No definition available. 
 | 
| X | ||||||||||
| 
- Definition Maximum employee contribution to the defined contribution plan as a percentage of the employee's annual compensation matched by employer No definition available. 
 | 
| X | ||||||||||
| 
- Definition Maximum employee contribution as a percentage of annual compensation to the defined contribution plan No definition available. 
 | 
| X | ||||||||||
| 
- Definition Minimum employee age requirement before eligible for participation in defined contribution plan No definition available. 
 | 
| X | ||||||||||
| 
- Definition Minimum employee contribution as a percentage of annual compensation to the defined contribution plan. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Minimum number of employee service hours required before eligible for participation in defined contribution plan No definition available. 
 | 
| X | ||||||||||
| 
- Definition Minimum number of days of employee service required before eligible for participation in defined contribution plan No definition available. 
 | 
| X | ||||||||||
| 
- Definition Defined Contribution Plan Minimum Years of Service Before Vesting Of Employer Contributions No definition available. 
 | 
| X | ||||||||||
| 
- Definition Percentage at designated intervals at which employees vest in employer contributions to the defined contribution plan No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of contribution received by defined benefit plan from employer which increases plan assets. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| 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. 
 |