What is the required version of mongodb for Katello 3.18?

Does it work with newer mongodb versions? I usually don’t like installing older versions of software unless absolutely necessary.