Commitments and Contingencies | 10. Commitments and Contingencies Leases We have operating leases for corporate offices, subleased offices and certain equipment and furniture. Our leases have remaining lease terms of less than 1 year to 19 years, some of which include options to extend the leases for up to 5 years. We do not have lease agreements with residual value guarantees, sale leaseback terms or material restrictive covenants. In May 2016, we entered into a lease agreement for our New Headquarters Facility in Charleston, South Carolina. There are two phases for construction of the New Headquarters Facility. Phase One included a building with approximately 172,000 rentable square feet, which we began using in April 2018. The lease agreement also grants us a Phase Two option to request that the landlord construct and lease to us a second office building and related improvements. The lease agreement expires in April 2038 and provides for four renewal periods of five years each at a base rent equal to the then prevailing market rate for comparable buildings. We continue to lease our former headquarters facility, now called our Customer Operations Center, in Charleston, South Carolina. The lease expires in October 2023 and has two five -year renewal options. We also have a lease for office space in Austin, Texas which expires in September 2023 and has two five -year renewal options. For each of the leases discussed above, we have not included the renewal options in the lease terms for calculating the lease liability as the renewal options allow us to maintain operational flexibility and we are not reasonably certain we will exercise these options at this time. As of June 30, 2019 , we had additional operating leases, primarily for office space, that have not yet commenced with future rent payments of $6.5 million . These operating leases will commence during fiscal year 2019 with lease terms of two years. The components of lease expense for the three and six months ended June 30, 2019 , were as follows: Three months ended Six months ended (dollars in thousands) 2019 2019 Operating lease cost (1) $ 5,894 $ 11,894 Variable lease cost 988 1,979 Sublease income (755 ) (1,459 ) Net lease cost $ 6,127 $ 12,414 (1) Includes short-term lease costs, which were immaterial. During the six months ended June 30, 2019 , we recorded $1.3 million in impairments of operating lease ROU assets associated with certain leased office spaces we ceased using as part of our facilities optimization restructuring. These impairments were recorded as restructuring expense on our consolidated statements of comprehensive income. See Note 15 to these consolidated financial statements for additional details regarding our facilities optimization restructuring. Total rent expense as determined under ASC 840 for the three and six months ended June 30, 2018 was $5.5 million and $9.9 million , respectively. Maturities of our operating lease liabilities as of June 30, 2019 were as follows: Years ending December 31, Operating leases (1) 2019 – remaining $ 11,376 2020 21,672 2021 18,948 2022 16,823 2023 14,608 Thereafter 81,958 Total lease payments 165,385 Less: Amount representing interest 49,114 Present value of future payments $ 116,271 (1) Our maturities of our operating lease liabilities do not include payments related to Phase Two of our New Headquarters Facility, as that option had not been exercised as of June 30, 2019 . As determined under ASC 840, the future minimum lease payments related to lease agreements with a remaining noncancelable term in excess of one year, net of related sublease commitments and lease incentives, as of December 31, 2018 were as follows: Years ending December 31, (dollars in thousands) Operating leases 2019 $ 20,808 2020 20,274 2021 16,924 2022 14,391 2023 12,923 Thereafter 81,755 Total minimum lease payments $ 167,075 Our ROU assets and lease liabilities are included in the following line items in our consolidated balance sheet: (dollars in thousands) June 30, Operating leases Operating lease right-of-use assets $ 107,165 Accrued expenses and other current liabilities $ 16,155 Operating lease liabilities, net of current portion 100,116 Total operating lease liabilities $ 116,271 As of June 30, 2019 , the weighted average remaining lease terms and discount rates were as follows: (dollars in thousands) June 30, Operating leases Weighted average remaining lease term (years) 13.0 Weighted average discount rate 5.96 % Supplemental cash flow information related to leases during the six months ended June 30, 2019 , was as follows: Six months ended (dollars in thousands) 2019 Cash paid for amounts included in the measurement of lease liabilities: Operating cash flows from operating leases $ 11,673 Right-of-use assets obtained in exchange for lease obligations (non-cash): Operating leases $ 105,010 Other commitments The term loans under the 2017 Credit Facility require periodic principal payments. The balance of the term loans and any amounts drawn on the revolving credit loans are due upon maturity of the 2017 Credit Facility in June 2022 . We have contractual obligations for third-party technology used in our solutions and for other services we purchase as part of our normal operations. In certain cases, these arrangements require a minimum annual purchase commitment by us. As of June 30, 2019 , the remaining aggregate minimum purchase commitment under these arrangements was approximately $106.5 million through 2023 . Solution and service indemnifications In the ordinary course of business, we provide certain indemnifications of varying scope to customers against claims of intellectual property infringement made by third parties arising from the use of our solutions or services. If we determine that it is probable that a loss has been incurred related to solution or service indemnifications, any such loss that could be reasonably estimated would be recognized. We have not identified any losses and, accordingly, we have not recorded a liability related to these indemnifications. Legal proceedings We are subject to legal proceedings and claims that arise in the ordinary course of business. We make a provision for a loss contingency when it is both probable that a liability has been incurred and the amount of the loss can be reasonably estimated. These provisions are reviewed at least quarterly and adjusted to reflect the impacts of negotiations, settlements, rulings, advice of legal counsel and other information and events pertaining to a particular case. Unless otherwise specifically disclosed in this note, we have determined as of June 30, 2019 , that no provision for liability nor disclosure is required related to any claim against us because (a) there is not a reasonable possibility that a loss exceeding amounts already recognized (if any) may be incurred with respect to such claim; (b) a reasonably possible loss or range of loss cannot be estimated; or (c) such estimate is immaterial. All legal costs associated with litigation are expensed as incurred. Litigation is inherently unpredictable. However, we believe that we have valid defenses with respect to the legal matters pending against us. It is possible, nevertheless, that our consolidated financial position, results of operations or cash flows could be negatively affected in any particular period by an unfavorable resolution of one or more of such proceedings, claims or investigations. |