Unable to upload logo into Quark theme - can't upload files of this type

The Quark theme has a settings page with an option to upload a custom logo. But any files I have tried to upload (including .png, .jpg and .svg) get rejected. With the message “You can’t upload files of this type”.

Is there a solution to this please?