Commitments and Contingencies Operating Leases The Company leases certain of its facilities under non-cancellable operating leases with various expiration dates through 2025. Premises rent expense was $1,892 and $1,220 for the three months ended June 30, 2017 and 2016 , respectively, and $3,671 and $2,398 for the six months ended June 30, 2017 and 2016 , respectively. Capital Lease In July 2015, the Company entered into a lease agreement (the "July 2015 Lease") to lease certain office equipment with expiration in August 2020. The July 2015 Lease bears an annual interest rate of 6.5% . The lease is secured by fixed assets used in the Company's office locations. At June 30, 2017 , future annual minimum lease payments under non-cancellable operating and capital leases were as follows: Capital Leases Operating Leases Year ending December 31, 2017, remainder $ 21 $ 7,908 2018 39 15,541 2019 37 13,307 2020 21 6,348 2021  3,136 Thereafter  6,866 Total minimum lease payments 118 $ 53,106 Less: Amount representing interest (12 ) Present value of capital lease obligations 106 Less: current portion (31 ) Long-term portion of capital lease obligations $ 75 Contingencies Under the indemnification provisions of the Company's customer agreements, the Company agrees to indemnify and defend and hold harmless its customers against, among other things, infringement of any patent, trademark or copyright under any country's laws or the misappropriation of any trade secret arising from the customers' legal use of the Company's solutions. The exposure to the Company under these indemnification provisions is generally limited to the total amount paid by the customers under the applicable customer agreement. However, certain indemnification provisions potentially expose the Company to losses in excess of the aggregate amount paid to the Company by the customer under the applicable customer agreement. To date, there have been no claims against the Company or its customers pursuant to these indemnification provisions. Legal Contingencies