The Framework 13 takes a M.2 2280 slot, though a 2230 fits as well. The Sandisk SN7100s are the best in terms of performance to efficiency/heat ratio. The 5.0 Nvmes get hotter due to faster speeds, so I don’t recommend it.
As for DRAM, it has two slots to slot in and for the best iGPU performance, it’s recommended to fill both slots. It can take up to 256GB total, or 2x128GB.
I commuted by bicycle for many years until I retired. I found that the best way to make your laptop lighter is to get a set of pannier bags and take that thing off your back. Seems much lighter when the bike is holding the weight. And a lot cheaper than buying SSD/RAM at today’s prices.