Commitments and Contingencies Legal Proceedings  From time to time, the Company is involved in litigation, claims, and other proceedings arising in the ordinary course of its business. Such litigation and other proceedings may include, but are not limited to, actions or claims relating to employment law (including misclassification), intellectual property, privacy and consumer protection, the Real Estate Settlement Procedures Act of 1974, the Fair Housing Act of 1968 or other fair housing statutes, cybersecurity incidents, data breaches or misappropriation, and commercial or contractual disputes. They may also relate to ordinary-course brokerage disputes, including, but not limited to, failure to disclose property defects, failure to meet client legal obligations, commission disputes, personal injury or property damage claims, and vicarious liability based upon conduct of individuals or entities outside of the Company's control, including partner agents and third-party contractor agents. The Company does not believe that any of its pending litigation, claims, and other proceedings is material to its business. Facility Leases and Other Commitments The Company leases its office space under noncancelable operating leases with terms ranging from one to 11 years. Generally, the leases require a fixed minimum rent with contractual minimum rent increases over the lease term, and certain leases include escalation provisions. Other commitments primarily relate to homes that the Company is under contract to purchase through its properties segment but that have not closed, and network infrastructure for the Companys data operations. Future minimum payments due under these agreements as of March 31, 2019 are as follows: March 31, 2019 Facility Leases Other Commitments 2019 $ 7,932 $ 31,821 2020 11,919 2,412 2021 11,408 701 2022 10,635 1,138 2023 and thereafter 30,933  Total minimum lease payments $ 72,827 $ 36,072 Warehouse Credit Facilities  In December 2016, Redfin Mortgage entered into a Mortgage Warehouse Agreement with Texas Capital Bank, National Association (Texas Capital), which was amended and restated in December 2017 and further amended on March 19, 2019. The Mortgage Warehouse Agreement expires on April 21, 2019. In April 2019, Redfin Mortgage and Texas Capital extended the Warehouse Agreement, as further described in Note 15: Subsequent Events. The Mortgage Warehouse Agreement requires Redfin Mortgage to maintain certain financial covenants and to provide periodic financial and compliance reports. Redfin Mortgage failed to satisfy a financial covenant contained in the Mortgage Warehouse Agreement as of March 31, 2019 , but Texas Capital has not enforced its remedies under the agreement, which principally include the rights to (i) cease purchasing participation interests in loans from Redfin Mortgage and (ii) sell all interests of Texas Capital or Redfin Mortgage in any loan subject to the agreement. As of March 31, 2019 and December 31, 2018 , there were $6,819 and $3,592 , respectively, outstanding under the Mortgage Warehouse Agreement. In June 2017, Redfin Mortgage entered into a Master Repurchase Agreement with Western Alliance Bank ("Western Alliance"), which was amended in September 2018. The Master Repurchase Agreement will expire on June 15, 2019. The Master Repurchase Agreement requires Redfin Mortgage to maintain certain financial covenants and to provide periodic financial and compliance reports. Redfin Mortgage failed to satisfy a financial covenant contained in the Master Repurchase Agreement as of March 31, 2019 , but Western Alliance has not enforced its remedy under the agreement of requiring Redfin Mortgage to repurchase all outstanding loans held by Western Alliance. As of March 31, 2019 and December 31, 2018 , there were $8,374 and $1,141 , respectively, outstanding on the Master Repurchase Agreement.