Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurement

Fair Value Measurement
6 Months Ended
Jun. 30, 2021
Fair Value Disclosures [Abstract]  
We recognize our financial assets and liabilities at fair value on a recurring basis (at least annually). Fair value is defined as the price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Three levels of inputs that may be used to measure fair value are as follows:
Level 1: Inputs are based on unadjusted quoted prices for identical instruments traded in active markets. 
Level 2: Inputs are based on quoted prices for similar instruments in active markets, quoted prices for identical or similar instruments in markets that are not active, and model-based valuation techniques for which all significant assumptions are observable in the market or can be corroborated by observable market data for substantially the full term of the assets or liabilities. 
Level 3: Inputs are generally unobservable and typically reflect management’s estimates of assumptions that market participants would use in pricing the asset or liability. The fair values are therefore determined using model-based techniques that include option pricing models, discounted cash flow models, and similar techniques. 
The following table presents the input level used to determine the fair values of our financial instruments measured at fair value on a recurring basis:
Fair Value as of
Level June 30, 2021 December 31, 2020
Interest rate swap instruments 2 $ 743  $
Commodity swap instruments 2 —  363 
Total assets $ 743  $ 365 
Interest rate swap instruments 2 $ 7,859  $ 10,073 
Commodity swap instruments 2 1,135  — 
Make-whole provisions 2 1,247  412 
Contingent consideration 3 678  678 
Total liabilities $ 10,919  $ 11,163 

The following table sets forth the fair value and the carrying value of our long-term debt, excluding financing leases:
As of June 30, 2021 As of December 31, 2020
Fair Value Carrying Value Fair Value Carrying Value
Long-term debt (Level 2) $ 367,427  $ 363,716  $ 363,460  $ 357,536 
The fair value of our long-term debt was estimated using discounted cash flows analysis, based on our current incremental borrowing rates for similar types of borrowing arrangements which are considered to be level two inputs. There have been no transfers in or out of level two or three financial instruments for the six months ended June 30, 2021 and the year ended December 31, 2020.
We are also required to periodically measure certain other assets at fair value on a nonrecurring basis, including long-lived assets, goodwill and other intangible assets. We calculated the fair value used in our annual goodwill impairment analysis utilizing a discounted cash flow analysis and determined that the inputs used were level 3 inputs. There were no assets recorded at fair value on a non-recurring basis as of June 30, 2021 or December 31, 2020.