When Vinit Juneja started as a software engineer at Amazon last year, he knew he might leave one day for a more attractive role.But after watching colleagues lose their jobs during two rounds of layoffs that eliminated roughly 30,000 positions at Amazon, another factor took on new importance: job security.”I…