For some reason flathub is disabled after installation on Fedora 36 Beta:
$ flatpak remotes --show-disabled
Name Options
fedora system,oci
fedora-testing system,disabled,oci
flathub system,disabled
Enable it:
$ flatpak remote-modify --enable flathub
Then the installation is possible.