Invest in a STM32G0 Discovery Kit for about $60. It tells you exactly what your USB-C power cube is capable of putting out.
So far I've only found one 35W Samsung cube that meet the spec of putting out 3.1V to 21V.
Most only put out one or two of the voltages of 9V, 12V, 15V or 21V. The 15W and under are usual 9V or 12V, with one being 15V. All will always default to 5V.
https://www.st.com/content/ccc/resource/technical/document/d...