You cannot? Huh I am an Apple ecosystem guy and the assumption that GarageBand on iPadOS and GarageBand on macOS will be compatible is really a reasonable one; I would think it’s the case!!
[1] https://support.apple.com/en-ca/guide/logicpro/lgcpa81aa804/...