I would say it to anyone personally - it’s a polite way to respond to someone thanking you. For example, I run a support account on instagram, and people message me for advice a lot - when they thank me for talking to them I always say “glad I could help!” (because I AM glad that I’ve helped someone and it’s polite!).