I have the m2 air with 16gb ram and am really happy with it. I carry it in my bag everyday so the weight difference to the 14pro is importantly to me. But I have to say that I semi regularly forget to bring my usb c hdmi dongle to meetings. I am still leaning more towards the air since I can still do video cutting and coding much faster than on any other pc.
Think about power consumption of your hardware. If it is supposed to run 24/7 this can add up over a year. The money could be invested in power efficient hardware instead. There are calculators online