If you were running the Dorico Pro demo, the Dorico Elements you just purchased is likely piggy-backing off the demo license. When the demo license expires, your access will be limited to the Elements version.
There is only one Dorico 2 program. The Elements and Pro licences unlock different features in it. So it must be finding a Pro license from somewhere - either your 30 day trial license hasn’t expired yet, or you have a time-limited demo license for all Steinberg products left over from something you bought previously (e.g. Cubase.)