v3.24.1.u1
Leases
3 Months Ended
Mar. 31, 2024
Leases [Abstract]  
Leases
Note 10. Leases
The Company leases real estate from unrelated parties under operating lease agreements that have initial terms ranging from one year to 11 years. Some leases include one or more options to renew, generally at our sole discretion, of five additional years each.
The components of lease expense are as follows:

Three months ended
March 31,
20242023
(in thousands)
Operating lease cost$1,279 $1,624 
Variable lease cost467 495 
Short-term lease cost116 55 
Total lease cost$1,862 $2,174 
The Company ceased use of certain leased premises and subleased certain facilities resulting in impairment charges of $0.4 million and $1.1 million to impair the right-of-use lease assets to their fair value during the three months ended March 31, 2024 and 2023, respectively, which are included in loss on held for sale and impairments on our unaudited condensed consolidated statement of operations and comprehensive loss.
Supplemental cash flow information related to leases is as follows:
Three months ended
March 31,
20242023
(in thousands)
Cash paid for operating lease liabilities$1,208 $1,842 
Operating lease assets obtained in exchange for operating lease liabilities$177 $— 
Supplemental balance sheet information, included in other non-current assets, accrued expenses and other and other non-current liabilities on the unaudited condensed consolidated balance sheets, related to leases is as follows:
March 31,December 31,
20242023
(in thousands)
Operating lease right-of-use assets$12,488 $15,861 
Current operating lease liabilities3,357 3,789 
Long-term operating lease liabilities15,697 19,400 
Total operating lease liabilities$19,054 $23,189 
At March 31, 2024 and December 31, 2023, the weighted average remaining lease term for operating leases was 5.49 years and 5.75 years, respectively, and the weighted average discount rate was 5.1% and 5.1%, respectively.
Future undiscounted cash flows for each of the next five years and thereafter and reconciliation to the lease liabilities recognized on the balance sheet as of March 31, 2024 is as follows (in thousands):

Year ended December 31,
2024 (remainder of year)
$3,406 
20254,320 
20264,114 
20273,322 
20282,567 
Thereafter4,563 
Total lease payments22,292 
Less: imputed interest3,238 
Total present value of lease liabilities$19,054