Based on your described workload, this configuration would more than accommodate you. RAM being the most important spec. And if you need it now, get it now. The M2 is great. You will not notice much benefit holding out for the M3.
Your bigger decision is screen size. Can you get by with 13inches or do you need the extra real estate of 15inches?
If you can get by with a smaller screen size, and you want to avoid dongle town, you could consider the the baseline M3 MacBook Pro (you do not need a pro or max chip) with 24GB RAM and 1TB storage.