Acquisitions - Additional Information (Details) $ in Thousands |
|
|
|
|
|
|
3 Months Ended |
12 Months Ended |
|
|
Dec. 06, 2022
USD ($)
Sites
Store
|
Jul. 22, 2022
USD ($)
Dealer
Sites
|
Nov. 09, 2021
USD ($)
StoresAndGasStation
|
Nov. 09, 2021
USD ($)
StoresAndGasStation
|
May 18, 2021
USD ($)
StoresAndGasStation
|
May 18, 2021
USD ($)
StoresAndGasStation
|
Oct. 06, 2020
USD ($)
StoresAndGasStation
GasStation
|
Oct. 05, 2020
USD ($)
|
Mar. 31, 2022
USD ($)
|
Dec. 31, 2022
USD ($)
Sites
|
Dec. 31, 2021
USD ($)
|
Dec. 31, 2020
USD ($)
|
Sep. 09, 2022
Dealer
Store
|
Jul. 20, 2022
USD ($)
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of sites leased | Sites |
|
121
|
|
|
|
|
|
|
|
|
|
|
|
|
Operating leases, current portion |
|
|
|
|
|
|
|
|
|
$ 57,563
|
$ 51,261
|
|
|
|
Goodwill |
|
|
|
|
|
|
|
|
|
217,297
|
197,648
|
$ 173,937
|
|
|
Net cash outflow |
|
|
|
|
|
|
|
|
|
419,726
|
203,070
|
363,988
|
|
|
Business Combination Number Of Convenience Stores Acquired | Store |
24
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Express Stop |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of real estate | StoresAndGasStation |
|
|
|
|
60
|
60
|
|
|
|
|
|
|
|
|
Acquisition related cost |
|
|
|
|
$ 87,000
|
|
|
|
|
78,000
|
|
|
|
|
Financial liability |
|
|
|
|
|
|
|
|
|
44,200
|
|
|
|
|
Operating leases, current portion |
|
|
|
|
|
|
|
|
|
30,000
|
|
|
|
|
Other Payments to Acquire Businesses |
|
|
|
|
|
|
|
|
|
15,900
|
|
|
|
|
Goodwill |
|
|
|
|
$ 7,556
|
$ 7,556
|
|
|
|
|
|
|
|
|
Goodwill recognized for tax deductible for US income tax purpose |
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
Acquisition related cost recognized as other (income) expenses |
|
|
|
|
|
|
|
|
|
|
2,500
|
|
|
|
Revenue through closing date of acquisition till period end date |
|
|
|
|
|
|
|
|
|
|
130,000
|
|
|
|
Net income through acquisition date till period end date |
|
|
|
|
|
|
|
|
|
|
2,000
|
|
|
|
Date of acquisition agreement |
|
|
|
|
May 18, 2021
|
|
|
|
|
|
|
|
|
|
Consideration paid in cash |
|
|
|
|
|
94,687
|
|
|
|
$ 0
|
|
0
|
|
|
Property and equipment |
|
|
|
|
$ 76,550
|
76,550
|
|
|
|
|
|
|
|
|
Intangible assets |
|
|
|
|
2,740
|
2,740
|
|
|
|
|
|
|
|
|
Deferred tax asset |
|
|
|
|
$ 2,435
|
2,435
|
|
|
|
|
|
|
|
|
Net cash outflow |
|
|
|
|
|
$ 94,429
|
|
|
|
|
|
|
|
|
Express Stop | Trade Names |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Useful life of assets acquired |
|
|
|
|
|
|
|
|
|
5 years
|
|
|
|
|
Handy Mart Acquisition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of real estate | StoresAndGasStation |
|
|
36
|
36
|
|
|
|
|
|
|
|
|
|
|
Consideration Provided By Oak Street |
|
|
$ 93,202
|
$ 93,202
|
|
|
|
|
|
|
|
|
|
|
Right-of-use assets under operating leases |
|
|
12,047
|
12,047
|
|
|
|
|
|
|
|
|
|
|
The amount of inventory and cash in the stores recognized as of the closing date of the acquisition date |
|
|
|
|
|
|
|
|
|
$ 12,000
|
|
|
|
|
Goodwill |
|
|
$ 64
|
64
|
|
|
|
|
|
|
|
|
|
|
Goodwill recognized for tax deductible for US income tax purpose |
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
Business Combination, Acquisition Related Costs |
|
|
|
|
|
|
|
|
|
|
600
|
|
|
|
Revenue through closing date of acquisition till period end date |
|
|
|
|
|
|
|
|
|
|
32,700
|
|
|
|
Net income through acquisition date till period end date |
|
|
|
|
|
|
|
|
|
|
900
|
|
|
|
Date of acquisition agreement |
|
|
Nov. 09, 2021
|
|
|
|
|
|
|
|
|
|
|
|
Consideration paid in cash |
|
|
|
110,828
|
|
|
|
|
|
$ 0
|
|
0
|
|
|
Property and equipment |
|
|
$ 105,824
|
105,824
|
|
|
|
|
|
|
|
|
|
|
Intangible assets |
|
|
$ 1,290
|
1,290
|
|
|
|
|
|
|
|
|
|
|
Acquisition-related costs |
|
|
|
|
|
|
|
|
|
|
600
|
|
|
|
Business Combination Consideration Paid By Others |
|
|
|
|
|
|
|
|
$ 6,700
|
|
93,200
|
|
|
|
Net cash outflow |
|
|
|
110,778
|
|
|
|
|
|
|
|
|
|
|
Handy Mart Acquisition | Trade Names |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Useful life of assets acquired |
|
|
|
|
|
|
|
|
|
5 years
|
|
|
|
|
handy mart 1 [member] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Consideration paid in cash |
|
|
|
$ 112,000
|
|
|
|
|
|
|
|
|
|
|
Empire Acquisition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of gas stations | GasStation |
|
|
|
|
|
|
1,453
|
|
|
|
|
|
|
|
Number of real estate | StoresAndGasStation |
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
Right-of-use assets under operating leases |
|
|
|
|
|
|
|
$ 210,352
|
|
|
|
|
|
|
Consideration paid |
|
|
|
|
|
|
$ 351,000
|
|
|
|
|
|
|
|
Paid for cash and inventory in stores |
|
|
|
|
|
|
$ 10,600
|
|
|
|
|
|
|
|
Frequency of consideration payment |
|
|
|
|
|
|
each of the first five anniversaries of the closing date
|
|
|
|
|
|
|
|
Annual consideration payment |
|
|
|
|
|
|
$ 4,000
|
|
|
$ 6,100
|
4,000
|
|
|
|
Additional consideration |
|
|
|
|
|
|
20,000
|
|
|
|
|
|
|
|
Contigent consideration |
|
|
|
|
|
|
$ 45,000
|
|
|
|
|
|
|
|
Earnout period |
|
|
|
|
|
|
5 years
|
|
|
|
|
|
|
|
Option to purchase asset period |
|
|
|
|
|
|
5 years
|
|
|
|
|
|
|
|
Consideration liability incurred |
|
|
|
|
|
|
|
350,000
|
|
|
|
|
|
|
Goodwill |
|
|
|
|
|
|
|
56,140
|
|
|
|
|
|
|
Business Combination, Acquisition Related Costs |
|
|
|
|
|
|
|
|
|
0
|
300
|
4,200
|
|
|
Net income through acquisition date till period end date |
|
|
|
|
|
|
|
|
|
|
|
7,700
|
|
|
Consideration paid in cash |
|
|
|
|
|
|
|
386,555
|
|
|
2,100
|
|
|
|
Property and equipment |
|
|
|
|
|
|
|
109,317
|
|
|
|
|
|
|
Option to acquire ownership rights |
|
|
|
|
|
|
|
8,446
|
|
|
|
|
|
|
Intangible assets |
|
|
|
|
|
|
|
|
|
|
2,800
|
|
|
|
Deferred tax asset |
|
|
|
|
|
|
|
11,459
|
|
|
|
|
|
|
Acquisition-related costs |
|
|
|
|
|
|
|
|
|
0
|
300
|
4,200
|
|
|
Goodwill, period increase (decrease) |
|
|
|
|
|
|
|
|
|
|
16,200
|
|
|
|
Depreciation and amortization expenses |
|
|
|
|
|
|
|
|
|
|
2,300
|
800
|
|
|
Revenue from acquisition |
|
|
|
|
|
|
|
|
|
|
477,300
|
|
|
|
Net cash outflow |
|
|
|
|
|
|
|
$ 361,616
|
|
|
|
|
|
|
Empire Acquisition | GPMP Segment [Member] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goodwill |
|
|
|
|
|
|
$ 56,100
|
|
|
|
|
|
|
|
Empire Acquisition | Capital One Line of Credit [Member] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Consideration liability incurred |
|
|
|
|
|
|
350,000
|
|
|
|
|
|
|
|
Empire Acquisition | Delayed Term Loan A [Member] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost |
|
|
|
|
|
|
60,000
|
|
|
|
|
|
|
|
Consideration liability incurred |
|
|
|
|
|
|
$ 63,000
|
|
|
|
|
|
|
|
Quarles Petroleum Inc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of dealer locations | Dealer |
|
46
|
|
|
|
|
|
|
|
|
|
|
|
|
Consideration Provided By Oak Street |
|
$ 129,316
|
|
|
|
|
|
|
|
|
|
|
|
$ 130,000
|
Right-of-use assets under operating leases |
|
32,916
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost |
|
170,000
|
|
|
|
|
|
|
|
|
|
|
|
|
Consideration liability incurred |
|
40,000
|
|
|
|
|
|
|
|
|
|
|
|
|
Goodwill |
|
$ 0
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost recognized as other (income) expenses |
|
|
|
|
|
|
|
|
|
2,300
|
600
|
|
|
|
Revenue through closing date of acquisition till period end date |
|
|
|
|
|
|
|
|
|
317,200
|
|
|
|
|
Net income through acquisition date till period end date |
|
|
|
|
|
|
|
|
|
$ 13,700
|
|
|
|
|
Date of acquisition agreement |
|
Jul. 22, 2022
|
|
|
|
|
|
|
|
|
|
|
|
|
Consideration paid in cash |
|
$ 184,989
|
|
|
|
|
|
|
|
|
|
0
|
|
|
Property and equipment |
|
146,055
|
|
|
|
|
|
|
|
|
|
|
|
|
Intangible assets |
|
30,010
|
|
|
|
|
|
|
|
|
|
|
|
|
Net cash outflow |
|
$ 184,163
|
|
|
|
|
|
|
|
|
|
|
|
|
Quarles Petroleum Inc | Third Party [Member] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of sites leased | Sites |
|
63
|
|
|
|
|
|
|
|
|
|
|
|
|
Useful life of assets acquired |
|
|
|
|
|
|
|
|
|
2 years
|
|
|
|
|
Quarles Petroleum Inc | Capital One Credit Facility [Member] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost |
|
$ 40,000
|
|
|
|
|
|
|
|
|
|
|
|
|
Oak Street |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of sites leased | Sites |
|
39
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of real estate | Sites |
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
Consideration Provided By Oak Street |
|
$ 129,300
|
|
|
|
|
|
|
|
|
|
|
|
|
Right-of-use assets under operating leases |
|
61,600
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost |
|
|
|
|
|
|
|
|
|
$ 60,000
|
|
|
|
|
Financial liability |
|
$ 20,200
|
|
|
|
|
|
|
|
|
|
|
|
|
right-of-use assets and operating lease liabilities |
$ 105,500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pride Convenience Holdings LLc Acquisition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Consideration Provided By Oak Street |
201,654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Right-of-use assets under operating leases |
2,245
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost |
230,000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Financial liability |
34,800
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Consideration liability incurred |
20,000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goodwill |
19,585
|
|
|
|
|
|
|
|
|
19,600
|
|
|
|
|
Acquisition related cost recognized as other (income) expenses |
|
|
|
|
|
|
|
|
|
2,200
|
|
|
|
|
Revenue through closing date of acquisition till period end date |
|
|
|
|
|
|
|
|
|
25,700
|
|
|
|
|
Net income through acquisition date till period end date |
|
|
|
|
|
|
|
|
|
$ 1,100
|
|
|
|
|
Consideration paid in cash |
235,378
|
|
|
|
|
|
|
|
|
|
0
|
$ 0
|
|
|
Property and equipment |
204,581
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Intangible assets |
1,824
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Deferred tax asset |
6,527
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net cash outflow |
228,732
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Company finance acquisition |
30,000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pride Convenience Holdings LLc Acquisition | Trade Names |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Useful life of assets acquired |
|
|
|
|
|
|
|
|
|
5 years
|
|
|
|
|
WtgFuelsLlc Member |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost |
$ 25,400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Combination Number Of FleetFueling Cardlocksites acquired | Sites |
57
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Combination Number Of Private Cardlocksites Acquired | Sites |
52
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Combination purchase price Acquisition |
$ 140,400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Transit Energy Group Member |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Acquisition related cost |
|
|
|
|
|
|
|
|
|
$ 370,000
|
|
|
|
|
Number of convenience stores | Store |
|
|
|
|
|
|
|
|
|
|
|
|
135
|
|
Number of dealer locations to be acquired | Dealer |
|
|
|
|
|
|
|
|
|
|
|
|
190
|
|
Deferred consideration |
|
|
|
|
|
|
|
|
|
50,000
|
|
|
|
|
Deferred consideration annual installment amount |
|
|
|
|
|
|
|
|
|
$ 25,000
|
|
|
|
|
Fueling Sites Member | Customer Relationships | Quarles Petroleum Inc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Useful life of assets acquired |
|
|
|
|
|
|
|
|
|
20 years
|
|
|
|
|
Wholesale Fuel Supply Contracts | Empire Acquisition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average discount rate |
|
|
|
|
|
|
13.00%
|
|
|
|
|
|
|
|
Weighted average useful life |
|
|
|
|
|
|
12 years
|
|
|
|
|
|
|
|
Wholesale Fuel Supply Contracts | Quarles Petroleum Inc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Useful life of assets acquired |
|
|
|
|
|
|
|
|
|
4 years 3 months 18 days
|
|
|
|
|
Ownership [Member] | Empire Acquisition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business Acquisition [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Property and equipment |
|
|
|
|
|
|
|
|
|
|
16,300
|
|
|
|
Deferred tax asset |
|
|
|
|
|
|
|
|
|
|
$ 3,100
|
|
|
|