Spy x Family accomplishes many diverse things as an anime series. On some levels, Spy x Family is a spy thriller in a Cold War setting. Alternatively, it's also a delightful "found family" comedy where every episode features heartwarming scenes. Despite the secret police antics and political tension around them, the three Forgers--Loid, Yor, and Anya--always appreciate the best things in life, like friendship, trust, and helping others. These themes come alive when the Forger family looks after one another, mostly where Anya is involved, but Anya isn't always a necessary ingredient for Spy x Family's success.
Source:https://www.cbr.com/spy-x-family-season-2-loid-yor-friendship/