Honestly you’re spoiled for choice when it comes to cpus, anything you’re looking at should for the most part “just work” as long as it’s within the last 3-8 generations of cpus (I’d recommend the last 2, since they significantly improved power efficiency and you’re going for a laptop). What you’ll mainly want to consider is linux support for the system devices (wifi, etc, etc) which you can Google per model and robustness of the device (which is slightly subjective, but a 1.1lbs 5mm thick whatever is generally less robust than say a ThinkPad).
You’ve got this! 🔥