|12 Months Ended|
Dec. 31, 2022
The following table provides the components of lease cost recognized in the consolidated statements of operations and comprehensive loss:
For the year ended December 31, 2022, the Company recorded short-term lease expense of $1,607, of which $579 was related to operating leases and $1,028 was related to finance leases. For the year ended December 31, 2021, the Company recorded short-term lease expense of $2,202, of which $1,231 was related to operating leases and $971 was related to finance leases.
The following table provides the weighted average discount rates and weighted average remaining lease terms for the Company’s leases:
As a result of the Taunton Facility Transactions, in May 2022, the Company derecognized a right-of-use asset balance of $3,940 and a lease liability balance of $4,454. See Note 13 — Massachusetts Lease Liability for additional information.
On April 19, 2022, the Company entered into the Purchase and Sale Agreement between its subsidiary, White Haven RE, LLC, and an affiliate of IIP, contemplating the “Pennsylvania Transaction in exchange for $15,000 cash. On December 30, 2022, the Company and IIP entered into a fifth amendment (the “Fifth Amendment”) to the Purchase and Sale Agreement, which extends the investigational period to a date that is on or before February 28, 2023 and also allows the Company to set the closing date of the Pennsylvania Transaction upon five business days’ notice to IIP, provided the closing date is not extended beyond February 28, 2023. See Note 21 — Subsequent Events for the completion of this transaction subsequent to December 31, 2022.
The maturity of the contractual undiscounted lease liabilities as of December 31, 2022 is as follows: