| Schedule of Financial Instruments, Measured at Fair Value on a Recurring and Non-recurring Basis |
As at December 31, 2020, the carrying amount and fair value of the Company’s financial instruments were as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Level 1 $ | | Level 2 $ | | Level 3 $ | | Carrying Amount | Fair Value | | Carrying Amount | Fair Value | | Carrying Amount | Fair Value | Assets: | | | | | | | | | | Cash equivalents: | | | | | | | | | | U.S. federal bonds | 174,397 | 174,399 | | — | — | | — | — | | Corporate bonds and commercial paper | 134,056 | 134,396 | | — | — | | — | — | | Repurchase agreements | — | — | | 290,000 | 290,001 | | — | — | | Marketable securities: | | | | | | | | | | U.S. term deposits | 885,000 | 887,102 | | — | — | | — | — | | U.S. federal bonds | 1,224,052 | 1,226,657 | | — | — | | — | — | | Canadian federal bonds | 24,988 | 24,987 | | — | — | | — | — | | Corporate bonds and commercial paper | — | — | | 1,550,330 | 1,552,907 | | — | — | Derivative assets: | | | | | | | | | | Foreign exchange forward contracts | — | — | | 16,340 | 16,340 | | — | — | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
As at December 31, 2019, the carrying amount and fair value of the Company’s financial instruments were as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | Level 1 $ | | Level 2 $ | | Level 3 $ | | Carrying Amount | Fair Value | | Carrying Amount | Fair Value | | Carrying Amount | Fair Value | Assets: | | | | | | | | | | Cash equivalents: | | | | | | | | | | | | | | | | | | | Repurchase agreements | — | — | | 200,000 | 200,009 | | — | — | | Marketable securities: | | | | | | | | | | U.S. term deposits | 300,000 | 301,354 | | — | — | | — | — | | U.S. federal bonds | 222,713 | 223,403 | | — | — | | — | — | | Canadian federal bonds | 69,922 | 69,919 | | — | — | | — | — | | Corporate bonds and commercial paper | — | — | | 1,212,643 | 1,216,822 | | — | — | Derivative assets: | | | | | | | | | | Foreign exchange forward contracts | — | — | | 5,830 | 5,830 | | — | — | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
|