How does the insurance apply in the event of airline bankruptcy/travel company bankruptcy?

Solid Försäkringar's travel insurance does not apply in the event of bankruptcy. However, it may be possible to get money back in another way depending on whether the trip is included in a package (the travel guarantee) or if you bought the flight with a credit card. You can read more about this at the Swedish Consumer Agency.