> I have heard that it does not worth it because Linux users are less than 3% of desktop users, but AFAIK would be more than 30M users.
Depends on the product. If it's a paid SaaS product meant for targeting server applications or developers tools such as automation, then it makes sense for Linux support which is why most Adobe software isn't on Linux since most of their audience is on macOS and Windows.
If it's a GUI product, then you need to 'define Linux support'. You can't support all Linux users 100% of the time since they will be using different distros, thus you need to select 2-3 distros, make sure it runs perfectly on their system and maintain the instructions and updates as well. This sort of maintenance is less involved with Windows and macOS.
If it were me, I'd go where my largest target audience is and compete there first and support smaller demographics last if the demand is there.