7. Commitments and Contingencies Office Facility Leases The Company has various operating lease agreements for its office facilities which expire at various dates through March 2026. The terms of the lease agreements provide for rental payments on a graduated basis. For its primary operating leases, the Company can, after the initial lease term, renew its leases under right of first offer terms at fair value at the time of renewal for a period of five years. The Company recognizes rent expense on a straight-line basis over the lease term. Rental expense, primarily for leased office space under the operating lease commitments, was $5.6 million, $4.1 million and $3.6 million for the years ended December31, 2016, 2015 and 2014, respectively. Future minimum lease payments under the Companys operating lease agreements that have initial or remaining non-cancelable lease terms in excess of one year as of December31, 2016 were as follows: (in thousands) 2017 $ 5,302 2018 5,652 2019 5,532 2020 5,013 2021 5,084 Thereafter 15,225 Total $ 41,808 The table above does not reflect the Companys option to exercise early termination rights or the payment of related early termination fees. Legal In August 2011, Ameranth, Inc. (Ameranth) filed a patent infringement action against a number of defendants, including Grubhub Holdings Inc., in the U.S. District Court for the Southern District of California (the Court), Case No.3:11-cv-1810 (1810 action). In September 2011, Ameranth amended its complaint in the 1810 action to also allege patent infringement against Seamless North America, LLC. Ameranth alleged that the Grubhub Holdings Inc. and Seamless North America, LLC ordering systems, products and services infringe claims 12 through 15 of U.S. Patent No.6,384,850 (850 patent) and claims 11 and 15 of U.S. Patent No.6,871,325 (325 patent). In August and September 2016, the Patent and Trademark Office (PTO) issued final written decisions determining the infringement claims by Ameranth of the 850 and 325 patents