OK, I think I understand thanks to your post. It's a compatibility issue between plasma-browser-integration and Teams on KDE.
If I disable the extension in Vivaldi and restart, everything works. I have to do this every time I use Teams and it's not very convenient, but it's better than nothing