XML 112 R67.htm IDEA: XBRL DOCUMENT v3.22.4
Financial and derivative instruments - Summary of realized and unrealized gain or (loss) on derivative instruments (Detail) - CAD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Derivative Instruments and Hedging Activities Disclosure [Abstract]      
Revenues $ 148 $ (46) $ (13)
Purchases of crude oil and products 0 (33) (21)
Total $ 148 $ (79) $ (34)