8. Commitments and Contingencies Operating Leases Facility Lease In March 2015, the Company entered into a 5-year lease for its corporate headquarters (the lease). The lease was further amended in February 2018, to add an additional space (the expansion space) at the current location and to extend the lease term (the amended lease). The amended lease expires in July 2023. Rent for the facility lease, including the expansion space, increases from $1.4 million per year to $1.7 million per year over the term of the lease. Variable lease payments include the Companys allocated share of costs incurred and expenditures made by the landlord in the operation and management of the building. The Company has the option to extend the term of the amended lease for one additional term of 5 years commencing after the amended lease expires. Other information related to the Companys lease was as follows (in thousands, except lease term and discount rate): For Three Months Ended For Six Months Ended June 30, June 30, 2019 2019 Lease Cost: Operating lease cost $ 343 $ 686 Variable lease cost 179 358 Total lease cost $ 522 $ 1,044 For Six Months Ended June 30, 2019 Other information: Operating cash flows used for operating leases $ 572 Weighted average remaining lease term 4.17 years Weighted average discount rate 6.47 % The following is a maturity analysis of the annual undiscounted cash flows reconciled to the carrying value of the operating lease liabilities as of June 30, 2019 (in thousands): Year Ending December 31, 2019 (excluding the six months ended June 30, 2019) $ 696 2020 1,447 2021 1,623 2022 1,672 2023 1,137 Thereafter  Total lease payments 6,575 Less imputed interest (857) Total operating lease liabilities $ 5,718 Legal Proceedings The Company is not currently a party to any material legal proceedings.