Anything from 5 minutes to an hour. It could be good for the jam
But you also should focus on the player experience rather than the game duration since that is more important.
Players will not play your 1-hour game if your first 5 minutes are not good, or somewhere in your game player gets stuck or has a bad experience