I just lost one of my solid developers on my team because the company policy did not want to allow him to work remotely. Sometimes is not even about money... he took a job that paid a bit less and moved! HR is blind to this and the CEO thinks forcing eveyone into the office will make things better. This is the fourth person to leave in the last two weeks... so as you can see it backfires really fast.