Hi.
Yes, USB type-C plug is hardwired to the AC adapter.
I think that over 2m long USB cable cannot convey data/power between devices because of its impedance (degradation of signal wave, power loss caused by cable resistance). Even if the long cable is used to deliver only power, PC may not be charged. It’s good to extend AC cable instead of USB cable.
Sincerely.