I have a Logitech G335 headset with a built-in microphone. The headset is connected to the only headset port on my laptop (Predator Helios 300 - PH317-54, Windows 11), which, next to it, has a symbol of a headset with a microphone clearly visible. The headphones are detected, labeled "Headphones" in this picture (don't worry about the default devices, the sound ends up going to the headphones):

But, in the Recording tab, this happens:

The microphone doesn't even show up as unplugged, it's simply not there.
I'm currently using the Microphone Array as my input device, but the input sounds horrible, and any sound, no matter how silent it is, is heard.
I have tried uninstalling and reinstalling drivers, troubleshooting.
I'm not sure if the issue was there when my computer was on Windows 10, but I would have tried downgrading if it would have let me keep my data.
Edit: I also remember that it used to ask me what type of audio device I was plugging in whenever I plugged in my headset, but it doesn't do that anymore.