Welcome to the forum, Josh. I'm going to assume it's a diesel, don't often hear about limp modes in the petrol versions.
Could be one of several things. Some models have a faulty EGR unit (might just be the software, not sure on that) and dealers have been replacing it as part of a recall.
It might also be the SCV - Suction Control Valve - it's part of the fuel pump. If it is, you can repeat the problem by getting the car to around 80km/h and planting your foot to the floor - the car should go limp. If it does, don't go getting a new SCV - have yours removed and cleaned, it's most likely just dirty. Then replace your fuel filter and re-think where you buy your diesel from - high turnover outlets (eg popular truck ports) or brand new servos are the best source.
Otherwise there are a number of things that could cause it, and sometimes it's just an electrical gremlin. The most common electrical gremlin is in the earth to the engine and to the ECU - remove, clean, reinstall then spray that blue **** over it to reduce corrosion.