| Schedule of Financial Instruments, Measured at Fair Value on a Recurring and Non-recurring Basis |
As at December 31, 2018, 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: | | | | | | | | | Commercial paper | — |
| — |
| | 4,994 |
| 4,994 |
| | — |
| — |
| Repurchase agreements | — |
| — |
| | 60,000 |
| 60,005 |
| | — |
| — |
| Marketable securities: | | | | | | | | | U.S. term deposits | 127,500 |
| 128,241 |
| | — |
| — |
| | — |
| — |
| U.S. federal bonds | 230,898 |
| 231,299 |
| | — |
| — |
| | — |
| — |
| Canadian federal bonds | 19,967 |
| 19,962 |
| | — |
| — |
| | — |
| — |
| Corporate bonds and commercial paper | — |
| — |
| | 1,180,622 |
| 1,182,437 |
| | — |
| — |
| | | | | | | | | | Liabilities: | | | | | | | | | Derivative liabilities: | | | | | | | | | Foreign exchange forward contracts | — |
| — |
| | 12,216 |
| 12,216 |
| | — |
| — |
|
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 |
| | — |
| — |
| Other: | | | | | | | | | Equity investments in private companies | — |
| — |
| | — |
| — |
| | 2,500 |
| 2,500 |
|
|