This works equally well for upper and lower sidebands and simply finds the frequency difference between what it’s receiving and it’s internal oscillator which is in this case locked at 500kHz. This also works with suppressed carrier DSB (double sideband) and also regular AM, but it will be very frequency sensitive because its phase has to match.