Business Acquisitions - Additional Information (Details) $ in Thousands |
May 31, 2018
USD ($)
earn-out_payment
|
Jan. 09, 2018
USD ($)
earn-out_payment
|
Jun. 30, 2018
USD ($)
|
Dec. 30, 2017
USD ($)
|
|---|---|---|---|---|
| Business Acquisition [Line Items] | ||||
| Goodwill | $ 64,603 | $ 60,281 | ||
| Town & Country Resources, Inc. | ||||
| Business Acquisition [Line Items] | ||||
| Potential consideration transferred | $ 7,000 | |||
| Cash consideration | $ 5,000 | |||
| Number of earn-out payments | earn-out_payment | 2 | |||
| First earn-out payment | $ 1,000 | |||
| Second earn-out payment | 1,000 | |||
| Contingent consideration | 1,000 | |||
| Consideration transferred | 6,000 | |||
| Goodwill | 4,800 | |||
| Proprietary software | $ 1,200 | |||
| Galore, Inc. | ||||
| Business Acquisition [Line Items] | ||||
| Potential consideration transferred | $ 300 | |||
| Number of earn-out payments | earn-out_payment | 2 | |||
| Proprietary software | $ 300 | |||
| Minimum | Galore, Inc. | ||||
| Business Acquisition [Line Items] | ||||
| First earn-out payment | 300 | |||
| Second earn-out payment | 700 | |||
| Maximum | Galore, Inc. | ||||
| Business Acquisition [Line Items] | ||||
| First earn-out payment | 500 | |||
| Second earn-out payment | $ 900 |