That's only true if Logitech were selling them directly. The people making more profit by price gouging are the middlemen. Amazon, the people who use Amazon to list their wares and Best Buy/big box stores. Which are responding to simple supply and demand market forces. I doubt that Logitech is making much more money because they still have to compete with their competitors.
Overall Logitech stands to lose market share by not being able to keep up with demand as people "settle" for good enough products and tell their friends looking to buy Logitech that, "yeah, but they are so expensive, I bought a <generic knockoff> and its fine." Logitech needs to maintain supply or risk losing sales in the long run. Investors might be happy about short term price hikes (if Logitech were doing that) that result in high earnings one quarter, but next year when sales are down vs the 5 year average investors will pull out costing Logitech even more.