EDIT: I made a major mistake. I meant to say "Get the base model Mini" and instead wrote "base model Pro". Argh, sorry!!! Corrected below, now.
---
As a couple others have said, the base M2 will absolutely destroy your old Mac. You definitely don't need more for light tasks (or even "normal tasks") - the base M2 is faster than the fastest laptop - not fastest Mac laptop, fastest laptop period - that existed just 4 years ago. (Perhaps there was a 10-pound $7000 desktop-replacement "laptop" with a battery that lasted 20 minutes that was faster at some things. I wouldn't bet on it offhand though.)
If you can spend a bit of extra cash, though, here's what your priorities should be:
1) RAM to 16GB. You will *definitely* appreciate this in a few years. Software is getting more bloated and more featureful all the time.
2) Disk... will really depend on what you need. Only you can tell, perhaps by looking at your old Mac. Storage requirements won't go up meaningfully just because you're moving to ARM.
3) CPU - you definitely don't need the pro. That's extremely certain. However if you have the cash, and think you might expand your use of the Mac in the future, you can go to the small pro (6P4E) for $300 more, or the bigger pro (8P4E) for $600 more than the base M2.
To summarize: Get the base model mini. Go to 16GB if you can afford it. Make sure you get enough disk for your needs. Anything else is just a splurge, if you have disposable cash.