XML 33 R24.htm IDEA: XBRL DOCUMENT v3.23.2
Leases
6 Months Ended
Jun. 30, 2023
Leases [Abstract]  
Leases

18.Leases

The Company has operating and finance leases for office space, equipment and vehicles.

Leases recorded on the balance sheet consists of the following:

​

​

​

​

​

​

​

​

    

June 30,

December 31,

Leases

​

2023

2022

Assets

​

​

​

​

​

Operating lease right-of-use assets, net (1)

​

$

22,010

$

14,978

Financing lease right-of-use assets, net (2)

​

 

14,684

 

15,839

Total assets

​

$

36,694

$

30,817

Liabilities

​

 

  

 

  

Current

​

 

  

 

  

Operating

​

$

6,152

$

4,738

Financing

​

 

3,515

 

4,031

Total current

​

 

9,667

 

8,769

Noncurrent

​

 

  

 

  

Operating

​

 

16,095

 

11,018

Financing

​

 

10,159

 

11,102

Total noncurrent

​

 

26,254

 

22,120

Total liabilities

​

$

35,921

$

30,889

(1)Operating lease right-of-use assets are recorded net of accumulated amortization of $11.3 million and $10.5 million as of June 30, 2023 and December 31, 2022, respectively.
(2)Financing lease right-of-use assets are recorded net of accumulated amortization of $6.3 million and $5.1 million as of June 30, 2023 and December 31, 2022, respectively.

Other information related to lease term and discount rate is as follows:

​

​

​

​

​

​

​

June 30,

 

December 31,

 

​

2023

 

2022

 

Weighted Average Remaining Lease Term (in years)

  

​

  

​

Operating leases

7.02

​

3.90

​

Financing leases

3.82

​

4.36

​

Weighted Average Discount Rate

​

​

​

​

Operating leases

8.95

%

4.86

%

Financing leases

5.73

%

5.62

%

​

​

The components of lease expense are as follows:

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

Three Months Ended June 30,

​

Six Months Ended June 30,

​

    

2023

    

2022

​

2023

    

2022

Operating lease costs:

 

​

  

 

​

  

​

​

  

 

​

  

Operating lease cost

​

$

1,553

​

$

1,087

​

$

2,943

​

$

2,404

Short-term lease cost (1)

​

 

500

​

 

302

​

 

1,141

​

 

618

Financing lease costs:

​

 

  

​

 

  

​

 

​

​

 

  

Interest on lease liabilities

​

 

194

​

 

183

​

 

389

​

 

350

Amortization of right-of-use assets

​

 

750

​

 

786

​

 

1,475

​

 

1,546

Total lease cost

​

$

2,997

​

$

2,358

​

$

5,948

​

$

4,918

(1)Includes expenses related to leases with a lease term of more than one month but less than one year.

Supplemental cash flow information related to leases is as follows:

​

​

​

​

​

​

​

​

Six Months Ended June 30,

​

2023

​

2022

Cash paid for amounts included in the measurement of lease liabilities:

​

​

​

​

​

Operating cash flows for operating leases

$

3,042

​

$

2,281

Operating cash flows for finance leases

$

389

​

$

350

Financing cash flows for finance leases

$

1,618

​

$

1,472

Non-cash activity:

 

​

​

 

  

ROU assets obtained in exchange for new operating lease liabilities

$

9,539

​

$

5,340

ROU assets obtained in exchange for new financing lease liabilities

$

1,520

​

$

8,790

​

Maturities of lease liabilities are summarized as follows:

​

​

​

​

​

​

​

​

​

​

Operating Leases

​

Finance Leases

Year ending December 31,

​

​

​

​

​

​

2023 (excluding the six months ended June 30, 2023)

​

$

3,881

​

$

2,212

2024

​

 

7,156

​

 

4,424

2025

​

 

5,041

​

 

3,660

2026

​

 

2,602

​

 

1,834

2027

​

 

2,354

​

 

1,529

Thereafter

​

 

13,083

​

 

1,583

Total future minimum lease payments

​

 

34,117

​

 

15,242

Less - amount representing interest

​

 

11,870

​

 

1,568

Present value of future minimum lease payments

​

 

22,247

​

 

13,674

Less - current lease obligations

​

 

6,152

​

 

3,515

Long-term lease obligations

​

$

16,095

​

$

10,159

​