Monterey: mirror iPad screen on Mac in separate window
As of 12.0.1 macOS Monterey only supports receiving AirPlay video fullscreen (and oddly enough, it also turns every other screen that is connected black).
If you want to receive AirPlay video in a window there is 3rd party software to accomplish this (LonelyScreen, AirServer, Reflector, ...)