v3.10.0.1

Commitments and Contingencies (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2018
Commitments and Contingencies Disclosure [Abstract] |
Lease expense and other information related to leases | The components of lease expense were as follows (in thousands):
|  | Three Months Ended June 30, |  | Six Months Ended June 30,
|  | 2018 |  | 2017 |  | 2018 |  | 2017
Finance lease cost: |  |  |  |  |  |  |  |
Amortization of right-of-use assets |  | $ | 2,723 |  |  | $ | 2,772 |  |  | $ | 5,357 |  |  | $ | 5,596 |
Interest on lease liabilities |  | 128 |  |  | 170 |  |  | 247 |  |  | 367 |
Operating lease cost |  | 2,505 |  |  | 2,619 |  |  | 5,134 |  |  | 5,130 |
Short-term lease cost |  | 154 |  |  | 140 |  |  | 355 |  |  | 243 |
Variable lease cost |  | 730 |  |  | 638 |  |  | 1,507 |  |  | 1,323 |
Sublease income |  | $ | (119 | ) |  | $ | — |  |  | $ | (225 | ) |  | $ | — |
Total lease cost |  | $ | 6,121 |  |  | $ | 6,339 |  |  | $ | 12,375 |  |  | $ | 12,659 |
Other information related to leases was as follows (in thousands):
|  | Three Months Ended June 30, |  | Six Months Ended June 30,
|  | 2018 |  | 2017 |  | 2018 |  | 2017
Cash paid for amounts included in the measurement of lease liabilities |  |  |  |  |  |  |  |
Operating cash flows from operating leases |  | $ | 2,655 |  |  | $ | 2,449 |  |  | $ | 5,255 |  |  | $ | 4,972 |
Operating cash flows from finance leases |  | 95 |  |  | 155 |  |  | 204 |  |  | 334 |
Financing cash flows from finance leases |  | 2,013 |  |  | 2,564 |  |  | 4,172 |  |  | 5,366 |
Right-of-use assets obtained in exchange for lease obligations: |  |  |  |  |  |  |  |
Operating leases |  | (1,026 | ) |  | 506 |  |  | 91 |  |  | 3,866 |
Finance leases |  | 4,043 |  |  | 18 |  |  | 4,142 |  |  | 102 |
Weighted average remaining lease term (years): |  |  |  |  |  |  |  |
Operating leases |  | 3.7 |  |  | 4.3 |  |  | 3.7 |  |  | 4.3 |
Finance leases |  | 2.2 |  |  | 2.4 |  |  | 2.2 |  |  | 2.4 |
Weighted average discount rate: |  |  |  |  |  |  |  |
Operating leases |  | 4.1 | % |  | 4.0 | % |  | 4.1 | % |  | 4.0 | %
Finance leases |  | 3.7 | % |  | 3.0 | % |  | 3.7 | % |  | 3.0 | %
Future minimum lease payments under non-cancellable leases | Future minimum lease payments under non-cancellable leases as of June 30, 2018 were as follows (in thousands):
|  | Operating Leases |  | Finance Leases
2018 |  | $ | 9,954 |  |  | $ | 7,636 |
2019 |  | 6,111 |  |  | 3,819 |
2020 |  | 4,454 |  |  | 1,555 |
2021 |  | 3,024 |  |  | 435 |
2022 |  | 2,080 |  |  | 48 |
Thereafter |  | 749 |  |  | 20 |
Total future lease payments |  | 26,372 |  |  | 13,513 |
Less: Amount representing interest |  | (2,618 | ) |  | (496 | )
Present value of future payments |  | 23,754 |  |  | 13,017 |
Less: Current portion |  | (8,620 | ) |  | (7,332 | )
Long-term portion |  | $ | 15,134 |  |  | $ | 5,685 |
Future minimum lease payments under non-cancellable leases | Future minimum lease payments under non-cancellable leases as of June 30, 2018 were as follows (in thousands):
|  | Operating Leases |  | Finance Leases
2018 |  | $ | 9,954 |  |  | $ | 7,636 |
2019 |  | 6,111 |  |  | 3,819 |
2020 |  | 4,454 |  |  | 1,555 |
2021 |  | 3,024 |  |  | 435 |
2022 |  | 2,080 |  |  | 48 |
Thereafter |  | 749 |  |  | 20 |
Total future lease payments |  | 26,372 |  |  | 13,513 |
Less: Amount representing interest |  | (2,618 | ) |  | (496 | )
Present value of future payments |  | 23,754 |  |  | 13,017 |
Less: Current portion |  | (8,620 | ) |  | (7,332 | )
Long-term portion |  | $ | 15,134 |  |  | $ | 5,685 |

X
- References No definition available. + Details
Name: | us-gaap_CommitmentsAndContingenciesDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of future minimum lease payments as of the date of the latest balance sheet presented, in aggregate and for each of the five years succeeding fiscal years, with separate deductions from the total for the amount representing executor costs, including any profit thereon, included in the minimum lease payments and for the amount of the imputed interest necessary to reduce the net minimum lease payments to present value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84164817&loc=d3e45280-112737 + Details
Name: | us-gaap_ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration