save as adds extra .indd extension
If you choose "save as" and delete the default Untitled file name, the dialogue box automatically adds an extra .indd extension.
InDesign 17.0.1 - MacBook Pro, macOS Monterey 12.0.1
This issue happens in Apple’s own applications like Text Edit as well. It is not restricted to InDesign.