After a restore of the iPad, I opened Good Notes and some of the documents were missing the actual PDF, and only showed the markup I added. Something went wrong with the iCloud sync.
Before trying something I desperate, I turned on the feature to backup each document automatically via the settings to Google Drive.
I deleted the Good Notes app, and then re-installed the app. The iCloud sync now worked correctly and everything was back to normal.