Before you buy an M2 drive, please make sure your motherboard supports it. M2 drives comes as either Sata or NVME but it's up to the manufacturers to how they configure their boards M2 slot which can support either one or both.
By the way, M2 Sata is the same performance as it's 2.5" Sata twin.