16gb is plenty, an intern we had ran a M1 Mac with 8gb of memory and running a browser concurrently with Figma made everything slow down to the point where he went around asking for advice.
Could it be all the corporate-tracking software ? I used to have a M1 Pro macbook with 16gb ram when it's first released, and somehow it still feel slow when compiling.
Then try again on my friend personal M1 MB, it was night and day.