Fair value of financial instruments | 6. Fair value of financial instruments Fair value is defined as the exchange 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. A fair value hierarchy is established which requires an entity to maximize the use of observable inputs and minimize the use of unobservable inputs for the valuation of an asset or liability as of the measurement date. The three levels of inputs that may be used to measure fair value are defined as follows: Level 1 inputs are quoted prices (unadjusted) in active markets for identical assets or liabilities. Level 2 inputs are inputs other than quoted prices included within Level 1 that are observable for assets or liabilities, either directly or indirectly. If the assets or liabilities have a specified (contractual) term, Level 2 inputs must be observable for substantially the full term of assets or liabilities. Level 3 inputs are unobservable inputs for assets or liabilities, which require the reporting entity to develop its own valuation techniques and assumptions. The Company utilizes the market approach to measure fair value for its financial assets and liabilities. The market approach uses prices and other relevant information generated by market transactions involving identical or comparable assets or liabilities. The following table provides details of the financial instruments measured at fair value on a recurring basis, including: Fair Value Measurements at Reporting Date Using (amount in thousands) Level 1 Level 2 Level 3 Total As of 0 Assets Cash equivalents $ — $ 13,651 $ — $ 13,651 Liquidity funds — 41,151 — 41,151 Certificates of deposit and time deposits — 22,300 — 22,300 Corporate debt securities — 193,248 — 193,248 U.S. agency and U.S. treasury securities — 50,539 — 50,539 Derivative assets — 694 (1) — 694 Total $ — $ 321,583 $ — $ 321,583 Liabilities Derivative liabilities – current portion $ — $ 2,426 $ — $ 2,426 Derivative liabilities – non-current portion — 3,305 — 3,305 Total $ — $ 5,731 (2) $ — $ 5,731 Fair Value Measurements at Reporting Date Using (amount in thousands) Level 1 Level 2 Level 3 Total As of 0 Assets Cash equivalents $ — $ 7,313 $ — $ 7,313 Liquidity funds — 41,051 — 41,051 Certificates of deposit and time deposits — 11,800 — 11,800 Corporate debt securities — 160,168 — 160,168 U.S. agency and U.S. treasury securities — 49,674 — 49,674 Derivative assets — 2,823 (3) — 2,823 Total $ — $ 272,829 $ — $ 272,829 Liabilities Derivative liabilities – current portion $ — $ 2,148 $ — $ 2,148 Derivative liabilities – non-current portion — 3,718 — 3,718 Total $ — $ 5,866 (4) $ — $ 5,866 (1) Foreign currency forward contracts with a notional amount of $130.0 million and Canadian dollars of 0.8 million. (2) Two interest rate swap agreements with an aggregate notional amount of $125.1 million. (3) Foreign currency forward contracts with a notional amount of $125.0 million and Canadian dollars of 0.6 million, and option contract with a notional amount of $1.0 million. (4) Interest rate swap agreements with an aggregate notional amount of $125.1 million. Derivative Financial Instruments The Company utilizes derivative financial instruments to hedge (i) foreign exchange risk associated with certain foreign currency denominated assets and liabilities and other foreign currency transactions, and (ii) interest rate risk associated with its long-term debt. The Company minimizes the credit risk associated with its derivative instruments by limiting the exposure to any single counterparty and by entering into derivative instruments only with counterparties that meet the Company’s minimum credit quality standard. Foreign currency forward and option contracts As a result of foreign currency rate fluctuations, the U.S. dollar equivalent values of the Company’s foreign currency denominated assets and liabilities fluctuate. The Company uses foreign currency forward and option contracts to manage the foreign exchange risk associated with a portion of its foreign currency denominated assets and liabilities and other foreign currency transactions. The Company enters into foreign currency forward and option contracts to hedge fluctuations in the U.S. dollar value of forecasted transactions denominated in Thai baht and Canadian dollars with counterparties that meet the Company’s minimum credit quality standard. The Company may enter into foreign currency forward contracts with maturities of up to 12 months to hedge fluctuations in the U.S. dollar value of forecasted transactions denominated in Thai baht, including inventory purchases, payroll and other operating expenses. The Company considers these forward contracts as dual-purpose hedges, that hedge both the foreign exchange fluctuation (i) from inception through the forecasted expenditure, and (ii) any subsequent revaluation of the account payable or accrual. The Company may designate the forward contracts that hedge the foreign exchange fluctuation from inception through the forecasted expenditure as cash flow hedges. The gain or loss on a derivative instrument designated and qualified as a cash flow hedging instrument is recorded as a component of other comprehensive income and reclassified into earnings in the same period or periods during which the hedged forecasted transaction affects earnings. The reclassified amounts are presented in the same income statement line item as the earnings effect of the hedged item. Once the forecasted transactions are recorded, the Company will discontinue the hedging relationship by de-designating unaudited condensed The Company may also enter into non-designated re-measurement non-designated As of September 25, 2020, the Company had outstanding U.S. dollar foreign currency forward contracts against Thai baht, with an aggregate notional amount of million and maturity dates ranging from October 2020 through April 2021 and one outstanding Canadian dollar foreign currency forward contract with a notional amount of Canadian dollars of 0.8 million and a maturity date in December 2020. As of September 25, 2020, the hedging relationship over foreign currency forward contracts that were designated for hedge accounting was determined to be highly effective based on the performance of retrospective and prospective regression testing. As of September 25, 2020, the amount in AOCI that is expected to be reclassified into earnings within 12 months was a loss of $0.5 million . During the three months ended September 25, 2020, the Company recorded an unrealized loss of $1.5 million from changes in the fair value of a foreign currency forward contract that was not designated for hedge accounting in earnings as foreign exchange loss, net in the unaudited condensed consolidated statements of operations and comprehensive income. As of and ran ging Interest Rate Swap Agreements The Company entered into interest rate swap agreements to mitigate interest rate risk and improve the interest rate profile of the Company’s debt obligations. As of and June 26, 2020 On July 25, 2018, Fabrinet Thailand entered into an interest rate swap agreement to effectively convert the floating interest rate of its term loan under the Bank of America Credit Facility Agreement to a fixed interest rate of 2.86% per annum through the scheduled maturity of the term loan in June 2023 (see Note 12 On September 3, 2019, the Company entered into a new term loan agreement under a Credit Facility Agreement with the Bank of Ayudhya Public Company Limited (the “Bank”) (see Note 12 2 On September 27, 2019, the Company designated these two interest rate swaps as a cash flow hedge for the Company’s term loan under the Credit Facility Agreement with the Bank. The combination of these two interest rate swaps qualified for hedge accounting because the hedges are highly effective, and the Company has designated and documented contemporaneously the hedging relationships involving these interest rate swaps. While we intend to continue to meet the conditions for hedge accounting, if hedges do not qualify as highly effective, the changes in the fair value of the derivatives used as hedges would be reflected in our earnings. From September 27, 2019, any gains or losses related to these interest rate swaps will be recorded in accumulated other comprehensive income in the unaudited condensed consolidated balance sheets. The Company will reclassify a portion of the gains or losses from accumulated other comprehensive income into earnings at each reporting period based on either the accrued interest amount or the interest payment. As of expected to be reclassified into earnings within 12 months is a ga in of million Prior to September 27, 2019, these interest rate swaps were not designated as cash flow hedges and all changes in the fair value of these interest rate swaps were reflected in earnings. During the three months ended September 27, 2019, the Company recorded unrealized loss of $1.7 million from changes in the fair value of these interest rate swaps as interest expense in the unaudited condensed consolidated statements of operations and comprehensive income. The following table provides a summary of the impact of derivative gain (loss) of the Company’s foreign currency forward contracts and interest rate swaps which were designated as cash flow hedges on the unaudited condensed consolidated statements of operations and other comprehensive income: Three Months Ended (amount in thousands) Financial statements line item September 25, 2020 September 27, 2019 Derivatives gain (loss) recognized in other comprehensive income: Foreign currency forward contracts Other comprehensive income $ (2,340 ) $ — Interest rate swaps Other comprehensive income 357 39 Total derivatives gain (loss) recognized in other comprehensive income $ (1,983 ) $ 39 Derivatives loss ( ) reclassified from accumulated other comprehensive income into earnings: Foreign currency forward contracts Cost of $ (2,057 ) $ — Foreign currency forward contracts SG&A (87 ) — Foreign currency forward contracts Foreign 1,278 — Interest rate swaps Interest expense (359 ) — Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings $ (1,225 ) $ — Change in net unrealized gain (loss) on derivatives instruments $ (3,208 ) $ — Fair Value of derivatives The following table provides the fair values of the Company’s derivative financial instruments for the periods presented: September 25, 2020 June 26, 2020 (amount in thousands) Derivative Derivative Derivative Derivative Derivatives not designated as hedging instruments Foreign currency forward and option contracts $ 447 $ (134 ) $ 9 $ (611 ) Interest rate swaps — — — — Derivatives designated as hedging instruments Foreign currency forward contracts 247 (781 ) 2,814 (83 ) Interest rate swaps — (4,816 ) — (5,172 ) Derivatives, gross balances 694 (5,731 ) 2,823 (5,866 ) The Company presents its derivatives at net fair values in the unaudited condensed consolidated balance sheets. The Company’s netting arrangements allow net settlements under certain conditions. The Company’s derivative instruments are typically settled monthly or quarterly. The Company recorded the fair value of derivative financial instruments in the unaudited condensed consolidated balance sheets as follows: Derivative Financial Instruments Balance Sheet line item Fair Value of Derivative Assets Other current assets Fair Value of Derivative Liabilities Accrued expenses Fair Value of Derivative Liabilities Other non-current |